Click or drag to resize
Ab4d.SharpEngine logo

PolyLineMaterial Class

PolyLineMaterial is a material that can be used to render poly-lines.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public class PolyLineMaterial : LineBaseMaterial, 
	IPolyLineMaterial

The PolyLineMaterial type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyIsPolyLine Returns true. This specifies that the line with this material is always rendered as poly-line (with connected segments).
Public propertyMiterLimit Gets or sets a value that defines at which line thickness the mitered (sharp) line joint is converted into beveled (square) line joint. For example, a value of 4 requires the mitered joint length to be 4 times the line thickness before the joint becomes beveled. MiterLimit is used only when IsPolyLine is set to true. Default value is set from static DefaultMiterLimit value (2 by default).
Top
Methods
 NameDescription
Public methodGetDetailsText GetDetailsText adds string that writes details about this Material into the specified StringBuilder.
(Overrides LineBaseMaterialGetDetailsText(StringBuilder, Boolean, Boolean, Boolean))
Top
Fields
 NameDescription
Public fieldStatic memberDefaultMiterLimit Miter limit value that is used when the MiterLimit is explicitly not specified.
Top
See Also