public class LabelStyle extends BillboardStyle
swigCMemOwn
Constructor and Description |
---|
LabelStyle(Color color,
float attachAnchorPointX,
float attachAnchorPointY,
boolean causesOverlap,
boolean hideIfOverlapped,
float horizontalOffset,
float verticalOffset,
int placementPriority,
boolean scaleWithDPI,
float anchorPointX,
float anchorPointY,
boolean flippable,
BillboardOrientation orientationMode,
BillboardScaling scalingMode)
Constructs a LabelStyle object from various parameters.
|
LabelStyle(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
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(LabelStyle 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.
|
static LabelStyle |
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
public LabelStyle(long cPtr, boolean cMemoryOwn)
public LabelStyle(Color color, float attachAnchorPointX, float attachAnchorPointY, boolean causesOverlap, boolean hideIfOverlapped, float horizontalOffset, float verticalOffset, int placementPriority, boolean scaleWithDPI, float anchorPointX, float anchorPointY, boolean flippable, BillboardOrientation orientationMode, BillboardScaling scalingMode)
color
- The color for the label.attachAnchorPointX
- The horizontal attaching anchor point for the label.attachAnchorPointY
- The vertical attaching anchor point for the label.causesOverlap
- The causes overlap flag for the label.hideIfOverlapped
- The hide if overlapped flag for the label.horizontalOffset
- The horizontal offset for the label.verticalOffset
- The vertical offset for the label.placementPriority
- The placement priority for the label.scaleWithDPI
- The scale with DPI flag for the label.anchorPointX
- The horizontal anchor point for the label.anchorPointY
- The vertical anchor point for the label.flippable
- The fliappble flag for the label.orientationMode
- The orientation mode for the label.scalingMode
- The scaling mode for the label.public static long getCPtr(LabelStyle obj)
protected void finalize()
finalize
in class BillboardStyle
public void delete()
delete
in class BillboardStyle
public static LabelStyle swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public float getAnchorPointX()
public float getAnchorPointY()
public boolean isFlippable()
public BillboardOrientation getOrientationMode()
public BillboardScaling getScalingMode()
public java.lang.String swigGetClassName()
swigGetClassName
in class BillboardStyle
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class BillboardStyle