Click or drag to resize

PathPrimitiveWidth Property

Gets or sets the line 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 virtual float Width { 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 MinimumWidthSupported and MaximumWidthSupported. Regardless of MinimumWidthSupported, a width of 0 is always allowed and effectively hides the primitive.
The width is defined in pixels so even if the camera moves very close or very far from the primitive, the width of the line on the screen does not change.
See Also