Click or drag to resize
AB4D logo

CameraNavigationCirclesOnCreateAxisCircle Method

OnCreateAxisCircle method creates an Ellipse shape that will show the circle behind the axis name. This method can be overridden in a derived class to create a different Shape (note: the created Shape should have IsHitTestVisible set to false).

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
protected virtual Shape OnCreateAxisCircle(
	string axisName,
	bool isPositiveAxis,
	Brush axisColorBrush
)

Parameters

axisName  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
axisColorBrush  Brush
SolidColorBrush with the color of the axis

Return Value

Shape
TextBlock
See Also