Click or drag to resize

PolylinePrimitiveWidth Property

Gets or sets the line width, in pixels.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public float Width { 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 MinimumWidthSupported and MaximumWidthSupported. Regardless of MinimumWidthSupported, a width of 0 is always allowed and effectively hides the primitive.
Remarks
The width is defined in pixels so even if the camera moves very close or very far from a polyline, the width of the line on the screen does not change.
See Also