public class LabelStyleBuilder extends BillboardStyleBuilder
swigCMemOwn
Constructor and Description |
---|
LabelStyleBuilder()
Constructs a LabelStyleBuilder object with all parameters set to defaults.
|
LabelStyleBuilder(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
LabelStyle |
buildStyle()
Builds a new instance of the LabelStyle object using previously set parameters.
|
void |
delete() |
protected void |
finalize() |
float |
getAnchorPointX()
Returns the horizontal anchor point of the label.
|
float |
getAnchorPointY()
Returns the vertical anchor point of the label.
|
static long |
getCPtr(LabelStyleBuilder obj) |
BillboardOrientation |
getOrientationMode()
Returns the orientation mode of the label.
|
BillboardScaling |
getScalingMode()
Returns the scaling mode of the label.
|
boolean |
isFlippable()
Returns the state of the flippable flag.
|
void |
setAnchorPoint(float anchorPointX,
float anchorPointY)
Sets the anchor point for the label.
|
void |
setAnchorPointX(float anchorPointX)
Sets the horizontal anchor point of the label.
|
void |
setAnchorPointY(float anchorPointY)
Sets the vertical anchor point of the label.
|
void |
setFlippable(boolean flippable)
Sets the state of the flippable flag.
|
void |
setOrientationMode(BillboardOrientation orientationMode)
Sets the orientation mode for the label.
|
void |
setScalingMode(BillboardScaling scalingMode)
Sets the scaling mode for the label.
|
static LabelStyleBuilder |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
getAttachAnchorPointX, getAttachAnchorPointY, getCPtr, getHorizontalOffset, getPlacementPriority, getVerticalOffset, isCausesOverlap, isHideIfOverlapped, isScaleWithDPI, setAttachAnchorPoint, setAttachAnchorPointX, setAttachAnchorPointY, setCausesOverlap, setHideIfOverlapped, setHorizontalOffset, setPlacementPriority, setScaleWithDPI, setVerticalOffset
public LabelStyleBuilder(long cPtr, boolean cMemoryOwn)
public LabelStyleBuilder()
public static long getCPtr(LabelStyleBuilder obj)
protected void finalize()
finalize
in class BillboardStyleBuilder
public void delete()
delete
in class BillboardStyleBuilder
public static LabelStyleBuilder swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public float getAnchorPointX()
public void setAnchorPointX(float anchorPointX)
anchorPointX
- The new horizontal anchor point for the label. -1 means the left side,public float getAnchorPointY()
public void setAnchorPointY(float anchorPointY)
anchorPointY
- The vertical anchor point for the label. -1 means the bottom,public void setAnchorPoint(float anchorPointX, float anchorPointY)
anchorPointX
- The new horizontal anchor point for the label. -1 means the left side,anchorPointY
- The vertical anchor point for the label. -1 means the bottom,public boolean isFlippable()
public void setFlippable(boolean flippable)
flippable
- The new state of the flippable flag.public BillboardOrientation getOrientationMode()
public void setOrientationMode(BillboardOrientation orientationMode)
public BillboardScaling getScalingMode()
public void setScalingMode(BillboardScaling scalingMode)
public LabelStyle buildStyle()
public java.lang.String swigGetClassName()
swigGetClassName
in class BillboardStyleBuilder
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class BillboardStyleBuilder