Click or drag to resize
AB4D logo

CameraNavigationCirclesOnAxisSelected(String, Boolean, Boolean, Brush, Line, Shape, TextBlock) Method

OnAxisSelected method is called when the axis is selected by the mouse. This method can be overridden in a derived class to customize the behaviour.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
protected virtual void OnAxisSelected(
	string axisText,
	bool isPositiveAxis,
	bool isInFront,
	Brush axisColorBrush,
	Line axisLine,
	Shape axisCircle,
	TextBlock axisTextBlock
)

Parameters

axisText  String
text that is shown for this axis (for example "X" or "-X")
isPositiveAxis  Boolean
true when this is a axis in a positive direction
isInFront  Boolean
when true then the text for this axis is in front of the axis center position
axisColorBrush  Brush
SolidColorBrush with the color of the axis
axisLine  Line
Line shape
axisCircle  Shape
Ellipse shape that represents the circle
axisTextBlock  TextBlock
TextBlock element
See Also