MaskBuilder.Position

Position(double, LengthType)

Sets the position of the mask.

public MaskBuilder Position(double position, LengthType type = LengthType.Px)
ParameterTypeDescription
positionDoubleThe position value.
typeLengthTypeThe type of length measurement.

Return Value

The current instance of MaskBuilder.

See Also


Position(double, double, LengthType)

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

public MaskBuilder Position(double horizontal, double vertical, LengthType type = LengthType.Px)
ParameterTypeDescription
horizontalDoubleThe horizontal position value.
verticalDoubleThe vertical position value.
typeLengthTypeThe type of length measurement.

Return Value

The current instance of MaskBuilder.

See Also


Position(HorizontalPosition, double, LengthType)

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

public MaskBuilder Position(HorizontalPosition horizontal, double vertical, 
    LengthType type = LengthType.Px)
ParameterTypeDescription
horizontalHorizontalPositionThe predefined horizontal position.
verticalDoubleThe vertical position value.
typeLengthTypeThe type of length measurement.

Return Value

The current instance of MaskBuilder.

See Also


Position(VerticalPosition, double, LengthType)

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

public MaskBuilder Position(VerticalPosition vertical, double horizontal, 
    LengthType type = LengthType.Px)
ParameterTypeDescription
verticalVerticalPositionThe predefined vertical position.
horizontalDoubleThe horizontal position value.
typeLengthTypeThe type of length measurement.

Return Value

The current instance of MaskBuilder.

See Also


Position(HorizontalPosition, VerticalPosition)

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

public MaskBuilder Position(HorizontalPosition horizontal, VerticalPosition vertical)
ParameterTypeDescription
horizontalHorizontalPositionThe predefined horizontal position.
verticalVerticalPositionThe predefined vertical position.

Return Value

The current instance of MaskBuilder.

See Also


Position(HorizontalEdge, double, VerticalEdge, double, LengthType)

Sets the position of the mask using edges and values.

public MaskBuilder Position(HorizontalEdge horizontalEdge, double horizontalValue, 
    VerticalEdge verticalEdge, double verticalValue, LengthType type = LengthType.Px)
ParameterTypeDescription
horizontalEdgeHorizontalEdgeThe horizontal edge position.
horizontalValueDoubleThe horizontal position value.
verticalEdgeVerticalEdgeThe vertical edge position.
verticalValueDoubleThe vertical position value.
typeLengthTypeThe type of length measurement.

Return Value

The current instance of MaskBuilder.

See Also