STK Graphics PrimitivesSend comments on this topic.
RotationPoint Property (IAgStkGraphicsOverlay)
See Also
Windows





Windows & Linux

Description

Gets or sets the point that the overlay is rotated around when the Rotation Angle property has a value other than 0.0. The array contains seven elements defining the properties of the rotation point. The elements are ordered as follows: UseOriginAsPoint (Boolean), Screen Overlay Origin, RelativeToParent (Boolean), x position, y position, x Screen Overlay Unit, y Screen Overlay Unit.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property RotationPoint() As System.Array
[C#]
public System.Array RotationPoint {get; set;}
[Managed C++]
public: __property System::Array get_RotationPoint();
public: __property void set_RotationPoint( System::Array );
[Unmanaged C++]
public: HRESULT get_RotationPoint(
    SAFEARRAY * * ppRetVal
);
public: HRESULT put_RotationPoint(
    SAFEARRAY * RotationPoint
);
[Java]
public AgSafeArray getRotationPoint();
public void setRotationPoint(
    AgSafeArray
);
[Python - STK API ]
@property
def RotationPoint(self) -> list:

@RotationPoint.setter
def RotationPoint(self, RotationPoint:list) -> None:

See Also

Example

Shows the format of the overlay's RotationPoint property.
[C#]
Array rotationPoint = new object[]
{
    false,
    AgEStkGraphicsScreenOverlayOrigin.eStkGraphicsScreenOverlayOriginCenter,
    true,
    0.0,
    0.0,
    AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels,
    AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels
};

overlay.RotationPoint = rotationPoint;
Shows the format of the overlay's RotationPoint property.
[Visual Basic .NET]
Dim rotationPoint As Array = New Object() {False, AgEStkGraphicsScreenOverlayOrigin.eStkGraphicsScreenOverlayOriginCenter, True, 0, 0, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels, _
	AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels}

overlay.RotationPoint = rotationPoint
© 2024 Analytical Graphics, Inc. All Rights Reserved.