Skip to content

DrawingDirectionPointEventArgs

Namespace: ThinkGeo.Core

Provides data for events raised while drawing directional point symbols along a line.

public class DrawingDirectionPointEventArgs : System.EventArgs

Inheritance ObjectEventArgsDrawingDirectionPointEventArgs

Properties

DirectionPoint

Gets or sets the point where the symbol should be rendered.

public PointShape DirectionPoint { get; set; }

Property Value

PointShape

LineFeature

Gets the line feature associated with this direction point.

public Feature LineFeature { get; }

Property Value

Feature

SymbolSize

Gets or sets the symbol size in pixels.

public float SymbolSize { get; set; }

Property Value

Single

RotationAngle

Gets or sets the rotation angle applied when drawing the symbol.

public float RotationAngle { get; set; }

Property Value

Single

Cancel

Gets or sets a value indicating whether the draw operation should be cancelled.

public bool Cancel { get; set; }

Property Value

Boolean

Constructors

DrawingDirectionPointEventArgs()

Initializes a new instance with default values.

public DrawingDirectionPointEventArgs()

DrawingDirectionPointEventArgs(Feature, PointShape, Single, Single)

Initializes a new instance using the provided line feature, point, and drawing parameters.

public DrawingDirectionPointEventArgs(Feature lineFeature, PointShape directionPoint, float symbolSize, float rotationAngle)

Parameters

lineFeature Feature
Line feature that the direction point belongs to.

directionPoint PointShape
Calculated point where the symbol will be drawn.

symbolSize Single
Size of the symbol in pixels.

rotationAngle Single
Rotation applied to the symbol.