position method

position

Sets the position of the mask.

Returns

The current instance of MaskBuilder.

def position(self, position, type):
    ...
ParameterTypeDescription
positionfloatThe position value.
typeLengthTypeThe type of length measurement.

position

Sets the position of the mask using predefined horizontal and vertical positions.

Returns

The current instance of MaskBuilder.

def position(self, horizontal, vertical):
    ...
ParameterTypeDescription
horizontalHorizontalPositionThe predefined horizontal position.
verticalVerticalPositionThe predefined vertical position.

position

Sets the position of the mask using horizontal and vertical values.

Returns

The current instance of MaskBuilder.

def position(self, horizontal, vertical, type):
    ...
ParameterTypeDescription
horizontalfloatThe horizontal position value.
verticalfloatThe vertical position value.
typeLengthTypeThe type of length measurement.

position

Sets the position of the mask using a predefined horizontal position and a vertical value.

Returns

The current instance of MaskBuilder.

def position(self, horizontal, vertical, type):
    ...
ParameterTypeDescription
horizontalHorizontalPositionThe predefined horizontal position.
verticalfloatThe vertical position value.
typeLengthTypeThe type of length measurement.

position

Sets the position of the mask using a predefined vertical position and a horizontal value.

Returns

The current instance of MaskBuilder.

def position(self, vertical, horizontal, type):
    ...
ParameterTypeDescription
verticalVerticalPositionThe predefined vertical position.
horizontalfloatThe horizontal position value.
typeLengthTypeThe type of length measurement.

position

Sets the position of the mask using edges and values.

Returns

The current instance of MaskBuilder.

def position(self, horizontal_edge, horizontal_value, vertical_edge, vertical_value, type):
    ...
ParameterTypeDescription
horizontal_edgeHorizontalEdgeThe horizontal edge position.
horizontal_valuefloatThe horizontal position value.
vertical_edgeVerticalEdgeThe vertical edge position.
vertical_valuefloatThe vertical position value.
typeLengthTypeThe type of length measurement.

See Also