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 |
float[] |
dashArray |
int |
fadeScale |
boolean |
fixed |
float |
heightOffset |
boolean |
outline |
boolean |
randomOffset |
static float |
REPEAT_GAP_DEFAULT |
static float |
REPEAT_START_DEFAULT |
float |
repeatGap |
float |
repeatStart |
int |
stipple |
int |
stippleColor |
float |
stippleWidth |
double |
strokeIncrease |
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,
double strokeIncrease,
int stipple,
int stippleColor,
float stippleWidth,
int fadeScale,
float blur,
boolean isOutline,
TextureItem texture,
boolean randomOffset,
float[] dashArray,
float repeatStart,
float repeatGap) |
| 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 static final float REPEAT_START_DEFAULT
public static final float REPEAT_GAP_DEFAULT
public 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 double strokeIncrease
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 final float[] dashArray
public final float repeatStart
public final float repeatGap
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,
double strokeIncrease,
int stipple,
int stippleColor,
float stippleWidth,
int fadeScale,
float blur,
boolean isOutline,
TextureItem texture,
boolean randomOffset,
float[] dashArray,
float repeatStart,
float repeatGap)
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()