public final class LineStyle extends RenderStyle<LineStyle>
| Modifier and Type | Class and Description |
|---|---|
static class |
LineStyle.LineBuilder<T extends LineStyle.LineBuilder<T>> |
RenderStyle.Callback, RenderStyle.StyleBuilder<T extends RenderStyle.StyleBuilder<T>>| Modifier and Type | Field and Description |
|---|---|
float |
blur |
Paint.Cap |
cap |
int |
color |
int |
fadeScale |
boolean |
fixed |
float |
heightOffset |
boolean |
outline |
boolean |
randomOffset |
int |
stipple |
int |
stippleColor |
float |
stippleWidth |
java.lang.String |
style |
int |
symbolHeight |
int |
symbolPercent |
int |
symbolWidth |
TextureItem |
texture |
float |
width |
cat| Constructor and Description |
|---|
LineStyle(int stroke,
float width) |
LineStyle(int stroke,
float width,
Paint.Cap cap) |
LineStyle(int level,
int stroke,
float width) |
LineStyle(int level,
java.lang.String style,
int color,
float width,
Paint.Cap cap,
boolean fixed,
int stipple,
int stippleColor,
float stippleWidth,
int fadeScale,
float blur,
boolean isOutline,
TextureItem texture,
boolean randomOffset) |
| Modifier and Type | Method and Description |
|---|---|
static LineStyle.LineBuilder<?> |
builder() |
LineStyle |
current() |
void |
renderWay(RenderStyle.Callback cb) |
dispose, renderNode, scaleTextSize, self, set, setCat, unsetOverride, updatepublic final java.lang.String style
public final float width
public final int color
public final Paint.Cap cap
public final boolean outline
public final boolean fixed
public final int fadeScale
public final float blur
public final int stipple
public final int stippleColor
public final float stippleWidth
public final TextureItem texture
public final float heightOffset
public final boolean randomOffset
public final int symbolWidth
public final int symbolHeight
public final int symbolPercent
public LineStyle(int stroke,
float width)
public LineStyle(int level,
int stroke,
float width)
public LineStyle(int stroke,
float width,
Paint.Cap cap)
public LineStyle(int level,
java.lang.String style,
int color,
float width,
Paint.Cap cap,
boolean fixed,
int stipple,
int stippleColor,
float stippleWidth,
int fadeScale,
float blur,
boolean isOutline,
TextureItem texture,
boolean randomOffset)
public LineStyle current()
current in class RenderStyle<LineStyle>public void renderWay(RenderStyle.Callback cb)
renderWay in class RenderStyle<LineStyle>cb - a reference to the receiver of all render callbacks.public static LineStyle.LineBuilder<?> builder()