Click or drag to resize

SolidPrimitiveOutlineWidth Property

Gets or sets the outline's width, in pixels.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
public float OutlineWidth { get; set; }

Property Value

Type: Single
ArgumentOutOfRangeException Width is less than 0.
InsufficientVideoCardException Width is outside of the range supported by the video card. To verify a width is supported, check PolylinePrimitive.MinimumWidthSupported and PolylinePrimitive.MaximumWidthSupported. Regardless of PolylinePrimitive.MinimumWidthSupported, a width of 0 is always allowed and effectively hides the outline.
The width is defined in pixels so even if the camera moves very close or very far from a solid, the width of the outline on the screen does not change.
See Also