public class LineStyle extends Object
| Modifier and Type | Field and Description |
|---|---|
float |
feather_PX
The thickness of the feather region, across which alpha fades to transparent.
|
LineJoinType |
joinType
How to join connected line segments.
|
float |
miterLimit
To keep miters from growing out of control for very sharp angles, miter joins
are only used when:
|
float[] |
rgba
The color used for the most opaque parts of the line.
|
boolean |
stippleEnable
Line rendering is likely to be faster with stippling disabled.
|
int |
stipplePattern
Least significant bit is drawn at the start of the line.
|
float |
stippleScale
The number of pixels, along the length of the line, covered by one bit
of
stipplePattern. |
float |
thickness_PX
The thickness of the ideal bounds of the line.
|
public float thickness_PX
feather_PX.public float feather_PX
For feathering to work, GL.GL_BLEND must be enabled.
Line rendering is likely to be faster with feather set to zero.
public LineJoinType joinType
Line rendering is likely to be faster with a join-type of NONE.
public float miterLimit
miterLength <= miterLimit * lineThickness
where miterLength is the distance from the outer tip of the miter to
its inner corner.
Otherwise, a bevel join is used instead.
Has no effect unless joinType is LineJoinType.JOIN_MITER.
public float[] rgba
public boolean stippleEnable
public float stippleScale
stipplePattern.public int stipplePattern
public LineStyle()
public LineStyle(LineStyle source)
Copyright © 2018 Metron, Inc.. All rights reserved.