Click or drag to resize
Ab4d.SharpEngine logo

ILinePatternMaterial Interface

ILinePatternMaterial interface can be implemented by a Line material that support line patterns.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public interface ILinePatternMaterial

The ILinePatternMaterial type exposes the following members.

Properties
 NameDescription
Public propertyLinePattern Gets or sets the 16 bit uint value that defines the line pattern - if bit is 1 then line part is drawn, when 0 line part is not drawn. For example value 0xFFFF means full line without any dots or dashes. Value 0x5555 means line with dots - one full dot follows one empty dot. When 0 (by default) or 0xFFFF than line stipple rendering is not enabled for this line.
Public propertyLinePatternOffset Gets or sets a pattern offset. This value is usually between 0 and 1 - 0 value means no offset, 1 means offset for the whole patter which is the same as no offset. Value 0.1 means that the line will begin with the pattern advanced by 10%.
Public propertyLinePatternScale Gets or sets the pattern scale factor. Values bigger then 1 increase the pattern length; values smaller then 1 decrease the pattern length (making it more dense). Default value is 1 that means that one bit in the LinePattern will be as long as LineThickness.
Top
See Also