ICustomNativeVisualizer.BoundsPolygon Method
BoundsPolygon(Feature feature, Drawable drawable)
Calculates the bounding rectangle of the visualization of the feature.Syntax
public PolygonGeometry BoundsPolygon (
Feature feature,
Drawable drawable
)Parameters
The feature to calculate the bounds for.
The drawable.
Return Value
The bounding rectangle, in screen coordinates.
Remarks
This method is called by Carmenta Engine to determine a bounding polygon of the visualization of the feature, in screen coordinates. The visualizer must calculate this using the 2D transform of the drawable.
Platforms
Windows, Linux, Android