ApiLocationTools Methods |
The ApiLocationTools type exposes the following members.
Name | Description | |
---|---|---|
CircleToPolygon |
Converts a specified zone from a circle to a polygon
| |
CircleToRectangle |
Converts a specified zone from a circle to a rectangle
| |
ClearCropRect |
Resets the cropping of a specified LocationImage
| |
CreateAnchor |
Creates an anchor of a specified LocationObject at a specified position
| |
CreateTransformer |
Creates a transformer object to enable transformation mode for LocationObjects
| |
GetImageCropRect |
Gets the cropping rectangle of a specified LocationImage
| |
GetLocalBoundingBox |
Gets the local bounding box of a specific LocationObject
| |
GetLocalVertices |
Gets a list of points containing the coordinates for the local vertices
| |
GetLocationBitmap |
Gets the rendered bitmap for the current location with a specified maxmimum size
| |
GetPosition |
Gets the position of a specific LocationObject
| |
GetTransformedBoundingBox |
Gets the transformed bounding box of a specific LocationObject
| |
GetTransformedVertices |
Gets a list of points containing the coordinates for the transformed vertices
| |
GetTransformMatrix |
Gets the transform matrix of a specified LocationObject
| |
PolygonToCircle |
Converts a specified zone from a polygon to a circle
| |
PolygonToRectangle |
Converts a specified zone from a polygon to a rectangle
| |
RemoveAllAnchors |
Removes all anchors of a specified AnchoredObjects
| |
RemoveAnchor |
Deletes a specified anchor
| |
ResetAspectHorizontal |
Resets the aspect ratio of a specified LocationImage in horizontal mode
| |
ResetAspectVertical |
Resets the aspect ratio of a specified LocationImage in vertical mode
| |
ResetTransformation |
Resets the transformation for a specified LocationObject.
Sets the rotation to 0.0, the TransformXAxis to 1.0/0.0 and the TransformYAxis to 0.0/1.0
| |
SaveLocationAsJpeg |
Saves the current location as a jpeg file with a specified filename, a maximum size and a specified quality level
| |
SaveLocationAsPng |
Saves the current location as a png file with a specified filename and a maximum size
| |
SaveLocationAsXps |
Saves the current location as an xps file with a specified filename
| |
SetImage |
Assigns a specified image asset to a specified LocationImage object
| |
SetImageCropRect |
Sets the cropping rectangle of a specified LocationImage with a specified rectangle.
The cropping coordinates are from 0.0 to 1.0 for each axis
| |
SetPosition |
Sets the position of a LocationObject to a new point
| |
SimplifyPath |
Simplifies the path of a specified shape, thus reducing the points count along the path with a specified tolerance.
|