public class WideVectorInfo extends BaseInfo
Modifier and Type | Field and Description |
---|---|
static int |
WideVectorPriorityDefault
Default draw priority for vector features.
|
disposeAfterUse, nativeHandle
Constructor and Description |
---|
WideVectorInfo() |
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
void |
setColor(float r,
float g,
float b,
float a)
Set the color used by the geometry.
|
void |
setColor(int color)
Set the color used by the geometry.
|
void |
setEdgeFalloff(double falloff)
Number of pixels to use in blending the edges of the wide vectors.
|
void |
setJoinType(com.mousebird.maply.WideVectorInfo.JoinType joinType)
When lines meet in a join there are several options for representing them.
|
void |
setLineWidth(float lineWidth)
This is the line width for vector features.
|
void |
setMitreLimit(double mitreLimit)
When using miter joins you can trigger them at a certain threshold.
|
void |
setTexture(MaplyTexture tex)
This the texture to be applied to the widened vector.
|
void |
setTextureRepeatLength(double repeatLen)
This is the repeat size for a texture applied along the widened line.
|
getDrawOffset, getDrawPriority, getEnable, getFadeIn, getFadeOut, getFadeOutTime, getShaderID, getViewDistRangeMax, getViewDistRangeMin, getViewerCenter, getVisibleHeightMax, getVisibleHeightMin, setDrawOffset, setDrawPriority, setEnable, setEnableTimes, setFade, setFadeInOut, setFadeOutTime, setMaxVis, setMinVis, setRenderTarget, setShader, setShaderID, setViewDistRange, setViewerCenter, setVisibleHeightRange, setZBufferRead, setZBufferWrite
public static int WideVectorPriorityDefault
public void finalize()
finalize
in class java.lang.Object
public void setColor(int color)
color
- Color in Android format, including alpha.public void setColor(float r, float g, float b, float a)
r
- Red component.g
- Green component.b
- Blue component.a
- Alpha component.public void setLineWidth(float lineWidth)
public void setTextureRepeatLength(double repeatLen)
public void setEdgeFalloff(double falloff)
public void setJoinType(com.mousebird.maply.WideVectorInfo.JoinType joinType)
public void setMitreLimit(double mitreLimit)
public void setTexture(MaplyTexture tex)