dips.ColorSurrogateVal module#

Generated wrapper for ColorSurrogate protobuf message.

class dips.ColorSurrogateVal.ColorSurrogateVal(proto_message: Any | None = None)#

Bases: object

Simple wrapper for ColorSurrogate with Pythonic getters and setters.

property a: int#

Get the A field value.

property b: int#

Get the B field value.

copy()#

Create a copy of this wrapper.

classmethod from_proto(proto_message)#

Create wrapper from existing protobuf message.

property g: int#

Get the G field value.

property r: int#

Get the R field value.

to_proto()#

Get the underlying protobuf message.