position method
Contents
[
Hide
]position
Sets the position of the mask.
Returns
The current instance of MaskBuilder.
def position(self, position, type):
...
Parameter | Type | Description |
---|---|---|
position | float | The position value. |
type | LengthType | The 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):
...
Parameter | Type | Description |
---|---|---|
horizontal | HorizontalPosition | The predefined horizontal position. |
vertical | VerticalPosition | The 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):
...
Parameter | Type | Description |
---|---|---|
horizontal | float | The horizontal position value. |
vertical | float | The vertical position value. |
type | LengthType | The 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):
...
Parameter | Type | Description |
---|---|---|
horizontal | HorizontalPosition | The predefined horizontal position. |
vertical | float | The vertical position value. |
type | LengthType | The 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):
...
Parameter | Type | Description |
---|---|---|
vertical | VerticalPosition | The predefined vertical position. |
horizontal | float | The horizontal position value. |
type | LengthType | The 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):
...
Parameter | Type | Description |
---|---|---|
horizontal_edge | HorizontalEdge | The horizontal edge position. |
horizontal_value | float | The horizontal position value. |
vertical_edge | VerticalEdge | The vertical edge position. |
vertical_value | float | The vertical position value. |
type | LengthType | The type of length measurement. |
See Also
- module
aspose.svg.builder
- class
MaskBuilder