public class VgLineDescriptor extends VgGeometryDescriptor
Modifier and Type | Method and Description |
---|---|
VgLineDescriptorRefPtr |
clone() |
static VgLineDescriptorRefPtr |
create()
This static method returns a new heap-allocated descriptor.
|
void |
delete() |
VgAltitudeMode |
getMAltitudeMode()
The altitude mode tells how to interpret the 'mHeight' members for all the mPositions elements.
|
VgColorVector |
getMColors()
The line colors.
|
boolean |
getMHaveCaps()
Tells whether the line should have round caps at start and end.
|
VgLineType |
getMLineType()
The type of line that will be rendered.
|
double |
getMMaxCornerRadius()
This member sets the maximal curvature radius used in corners when
smoothing the line. expressed in meters.
|
VgPositionVector |
getMPositions()
The positions of the control points ordered sequentially.
|
VgITextureRefPtr |
getMTexture()
The texture that will be used when drawing the track.
|
float |
getMTextureAnimationSpeed()
The texture animation speed in meters/second (along the vertical axis of the texture).
|
float |
getMTextureSize()
The texture's size in y coordinate (metric).
|
VgDoubleVector |
getMWidths()
The line widths.
|
void |
setMAltitudeMode(VgAltitudeMode value)
The altitude mode tells how to interpret the 'mHeight' members for all the mPositions elements.
|
void |
setMColors(VgColorVector value)
The line colors.
|
void |
setMHaveCaps(boolean value)
Tells whether the line should have round caps at start and end.
|
void |
setMLineType(VgLineType value)
The type of line that will be rendered.
|
void |
setMMaxCornerRadius(double value)
This member sets the maximal curvature radius used in corners when
smoothing the line. expressed in meters.
|
void |
setMPositions(VgPositionVector value)
The positions of the control points ordered sequentially.
|
void |
setMTexture(VgITextureRefPtr value)
The texture that will be used when drawing the track.
|
void |
setMTextureAnimationSpeed(float value)
The texture animation speed in meters/second (along the vertical axis of the texture).
|
void |
setMTextureSize(float value)
The texture's size in y coordinate (metric).
|
void |
setMWidths(VgDoubleVector value)
The line widths.
|
getMDrawOnTop, getMVisibilityRampFullyInvisible, getMVisibilityRampFullyVisible, getMVisibilityRampStartInvisible, getMVisibilityRampStartVisible, getMZIndex, setMDrawOnTop, setMVisibilityRampFullyInvisible, setMVisibilityRampFullyVisible, setMVisibilityRampStartInvisible, setMVisibilityRampStartVisible, setMZIndex
getNbReferences, ref, unref
public void delete()
delete
in class VgGeometryDescriptor
public static VgLineDescriptorRefPtr create()
public void setMPositions(VgPositionVector value)
public VgPositionVector getMPositions()
public void setMColors(VgColorVector value)
public VgColorVector getMColors()
public void setMWidths(VgDoubleVector value)
public VgDoubleVector getMWidths()
public void setMTexture(VgITextureRefPtr value)
public VgITextureRefPtr getMTexture()
public void setMTextureSize(float value)
public float getMTextureSize()
public void setMTextureAnimationSpeed(float value)
public float getMTextureAnimationSpeed()
public void setMLineType(VgLineType value)
public VgLineType getMLineType()
public void setMAltitudeMode(VgAltitudeMode value)
public VgAltitudeMode getMAltitudeMode()
public void setMMaxCornerRadius(double value)
public double getMMaxCornerRadius()
public void setMHaveCaps(boolean value)
public boolean getMHaveCaps()
public VgLineDescriptorRefPtr clone()
clone
in class java.lang.Object