[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.TransformMatrix.Translate

Translate Method

Translate(float, float)

Applies the specified translation vector (offsetX and offsetY) to this Matrix object by prepending the translation vector.

Declaration
public void Translate(float offsetX, float offsetY)
Public Sub Translate(offsetX As Single, offsetY As Single)
Parameters
Type Name Description
float offsetX

The x value by which to translate this Matrix.

float offsetY

The y value by which to translate this Matrix.

Translate(float, float, TransformOrder)

Applies the specified translation vector (offsetX and offsetY) to this Matrix object by prepending the translation vector.

Declaration
public void Translate(float offsetX, float offsetY, TransformOrder order)
Public Sub Translate(offsetX As Single, offsetY As Single, order As TransformOrder)
Parameters
Type Name Description
float offsetX

The x value by which to translate this Matrix.

float offsetY

The y value by which to translate this Matrix.

TransformOrder order

A TransformOrder enumeration that specifies the order (append or prepend) in which the translation is applied to this Matrix object.