OpenLayer
|
Placement
|
SetPosition
SetPosition
void
SetPosition
(
Vec2D
position )
Sets the position value of the Placement.
Examples
// Set the position of myPlacement to x = 200.0, y = 100.0 //
myPlacement.
SetPosition
(
Vec2D
(
200.0
,
100.0
));
Other functions of the class
Placement
MoveBy
Moves the Placement
RotateBy
Rotates the Placement
StretchBy
Stretches the Position
GetDistance
Returns the distance between this Placement and an another one
SetPosition
Sets the position value of the Placement
GetPosition
Returns the position value of the Placement
SetRotation
Sets the rotation angle of the Placement
GetRotation
Returns the rotation angle of the Placement
SetStretch
Sets the stretching factor of the Placement
GetStretch
Returns the stretching factor of the Placement
Back to the main page of the manual
Questions about SetPosition? Click
here.