public class BillboardStyleBuilder extends StyleBuilder
swigCMemOwn
Constructor and Description |
---|
BillboardStyleBuilder(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
float |
getAttachAnchorPointX()
Returns the horizontal attaching anchor point of the billoard.
|
float |
getAttachAnchorPointY()
Returns the vertical attaching anchor point of the billoard.
|
static long |
getCPtr(BillboardStyleBuilder obj) |
float |
getHorizontalOffset()
Returns the horizontal offset of the billboard.
|
int |
getPlacementPriority()
Returns the placement priority of the billboard.
|
float |
getVerticalOffset()
Returns the vertical offset of the billboard.
|
boolean |
isCausesOverlap()
Returns the state of the causes overlap flag.
|
boolean |
isHideIfOverlapped()
Returns the state of the allow overlap flag.
|
boolean |
isScaleWithDPI()
Returns the state of the scale with DPI flag.
|
void |
setAttachAnchorPoint(float attachAnchorPointX,
float attachAnchorPointY)
Sets the attaching anchor point for the billoard.
|
void |
setAttachAnchorPointX(float attachAnchorPointX)
Sets the horizontal attaching anchor point of the billoard.
|
void |
setAttachAnchorPointY(float attachAnchorPointY)
Sets the vertical attaching anchor point of the billoard.
|
void |
setCausesOverlap(boolean causesOverlap)
Sets the state of the causes overlap flag.
|
void |
setHideIfOverlapped(boolean hideIfOverlapped)
Sets the state of the hide if overlapped flag.
|
void |
setHorizontalOffset(float horizontalOffset)
Sets the horizontal offset for the billboard.
|
void |
setPlacementPriority(int placementPriority)
Sets the placement priority for the billboard.
|
void |
setScaleWithDPI(boolean scaleWithDPI)
Sets the state of the scale with DPI flag.
|
void |
setVerticalOffset(float verticalOffset)
Sets the vertical offset for the billboard.
|
static BillboardStyleBuilder |
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.
|
public BillboardStyleBuilder(long cPtr, boolean cMemoryOwn)
public static long getCPtr(BillboardStyleBuilder obj)
protected void finalize()
finalize
in class StyleBuilder
public void delete()
delete
in class StyleBuilder
public static BillboardStyleBuilder swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public float getAttachAnchorPointX()
public void setAttachAnchorPointX(float attachAnchorPointX)
attachAnchorPointX
- The new horizontal attaching anchor point for the billoard. -1 means the left side,public float getAttachAnchorPointY()
public void setAttachAnchorPointY(float attachAnchorPointY)
attachAnchorPointY
- The new vertical attaching anchor point for the billoard. -1 means the bottom,public void setAttachAnchorPoint(float attachAnchorPointX, float attachAnchorPointY)
attachAnchorPointX
- The new horizontal attaching anchor point for the billoard. -1 means the left side,attachAnchorPointY
- The new vertical attaching anchor point for the billoard. -1 means the bottom,public boolean isCausesOverlap()
public void setCausesOverlap(boolean causesOverlap)
causesOverlap
- The new state of the allow overlap flag.public boolean isHideIfOverlapped()
public void setHideIfOverlapped(boolean hideIfOverlapped)
hideIfOverlapped
- The new state of the allow overlap flag.public float getHorizontalOffset()
public void setHorizontalOffset(float horizontalOffset)
horizontalOffset
- The new horizontal offset for the billboard.public float getVerticalOffset()
public void setVerticalOffset(float verticalOffset)
verticalOffset
- The new vertical offset for the billboard.public int getPlacementPriority()
public void setPlacementPriority(int placementPriority)
public boolean isScaleWithDPI()
public void setScaleWithDPI(boolean scaleWithDPI)
scaleWithDPI
- The new state of the scale with DPI flag.public java.lang.String swigGetClassName()
swigGetClassName
in class StyleBuilder
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class StyleBuilder