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: 19.2.399.0 (19.2.399.0)
Syntax
public float OutlineWidth { get; set; }

Property Value

Type: Single
Exceptions
ExceptionCondition
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.
Remarks
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