Uredi

Deli z drugimi prek


Matrix.OffsetX Property

Definition

Gets or sets the value of the third row and first column of this Matrix structure.

public:
 property double OffsetX { double get(); void set(double value); };
public double OffsetX { get; set; }
member this.OffsetX : double with get, set
Public Property OffsetX As Double

Property Value

The value of the third row and first column of this Matrix structure. The default value is 0.

Remarks

The OffsetX property is so named because it specifies the amount to translate the coordinate space along the x-axis.

The following table shows the layout of a Matrix.

M11 M12 0
M21 M22 0
OffsetX OffsetY 1

Applies to