TransformArguments¶
Namespace: ThinkGeo.UI.Android
Represents an arguments that transform map control.
public class TransformArguments
Inheritance Object → TransformArguments
Properties¶
RotationStatus¶
public RotationStatus RotationStatus { get; set; }
Property Value¶
PivotXInScreen¶
public int PivotXInScreen { get; set; }
Property Value¶
PivotYInScreen¶
public int PivotYInScreen { get; set; }
Property Value¶
CenterX¶
Gets or sets the center x of MapControl.
public float CenterX { get; set; }
Property Value¶
Single
The center x.
CenterY¶
Gets or sets the center y of MapControl.
public float CenterY { get; set; }
Property Value¶
Single
The center y.
ProcessingExtent¶
Gets or sets the processing extent of MapControl.
public RectangleShape ProcessingExtent { get; set; }
Property Value¶
RectangleShape
The processing extent.
X¶
Gets or sets the x of MapControl.
public float X { get; set; }
Property Value¶
Single
The x.
Y¶
Gets or sets the y of MapControl.
public float Y { get; set; }
Property Value¶
Single
The y.
Rotation¶
Gets or sets the rotation of MapControl.
public double Rotation { get; set; }
Property Value¶
Double
The rotation.
InertiallyPan¶
Gets or sets a value indicating whether [inertially pan].
public bool InertiallyPan { get; set; }
Property Value¶
Boolean
true if [inertially pan]; otherwise, false.
Constructors¶
TransformArguments()¶
Initializes a new instance of the TransformArguments class.
public TransformArguments()
TransformArguments(Single, Single, Single, RectangleShape, Single, Single)¶
Initializes a new instance of the TransformArguments class.
public TransformArguments(float x, float y, float scale, RectangleShape processingExtent, float centerX, float centerY)
Parameters¶
x Single
The x.
y Single
The y.
scale Single
The scale.
processingExtent RectangleShape
The processing extent.
centerX Single
The center x.
centerY Single
The center y.
Methods¶
PostScale(Single, Single, Single)¶
Posts the scale of MapControl.
public void PostScale(float scale, float centerX, float centerY)
Parameters¶
scale Single
The scale.
centerX Single
The center x.
centerY Single
The center y.
PostTranslate(Single, Single)¶
Posts the translate of MapControl.
public void PostTranslate(float offsetX, float offsetY)
Parameters¶
offsetX Single
The offset x.
offsetY Single
The offset y.
Reset()¶
Resets this instance of MapControl.
public void Reset()
Set(TransformArguments)¶
Sets the specified matrix of MapControl.
public void Set(TransformArguments matrix)
Parameters¶
matrix TransformArguments
The matrix.