public class BalloonPopupStyle extends PopupStyle
swigCMemOwn
Constructor and Description |
---|
BalloonPopupStyle(Color color,
float attachAnchorPointX,
float attachAnchorPointY,
boolean causesOverlap,
boolean hideIfOverlapped,
float horizontalOffset,
float verticalOffset,
int placementPriority,
boolean scaleWithDPI,
int cornerRadius,
Color leftColor,
Bitmap leftImage,
BalloonPopupMargins leftMargins,
Color rightColor,
Bitmap rightImage,
BalloonPopupMargins rightMargins,
Color titleColor,
java.lang.String titleFontName,
int titleFontSize,
BalloonPopupMargins titleMargins,
boolean titleWrap,
Color descColor,
java.lang.String descFontName,
int descFontSize,
BalloonPopupMargins descMargins,
boolean descWrap,
Color strokeColor,
int strokeWidth,
int triangleWidth,
int triangleHeight)
Constructs a BalloonPopupStyle object from various parameters.
|
BalloonPopupStyle(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
Color |
getBackgroundColor()
Returns the background color of the popup.
|
int |
getCornerRadius()
Returns the corner radius of the popup.
|
static long |
getCPtr(BalloonPopupStyle obj) |
Color |
getDescriptionColor()
Returns the color of the description.
|
java.lang.String |
getDescriptionFontName()
Returns the name of the description font.
|
int |
getDescriptionFontSize()
Returns the size of the description font.
|
BalloonPopupMargins |
getDescriptionMargins()
Returns the margins of the description.
|
Color |
getLeftColor()
Returns the background color of the left part of the popup.
|
Bitmap |
getLeftImage()
Returns the image of the left part of the popup.
|
BalloonPopupMargins |
getLeftMargins()
Returns the margins of the left part of the popup.
|
Color |
getRightColor()
Returns the background color of the right part of the popup.
|
Bitmap |
getRightImage()
Returns the image of the right part of the popup.
|
BalloonPopupMargins |
getRightMargins()
Returns the margins of the right part of the popup.
|
Color |
getStrokeColor()
Returns the color of the stroke surrounding the popup.
|
int |
getStrokeWidth()
Returns the width of the stroke surrounding the popup.
|
Color |
getTitleColor()
Returns the color of the title.
|
java.lang.String |
getTitleFontName()
Returns the name of the title font.
|
int |
getTitleFontSize()
Returns the size of the title font.
|
BalloonPopupMargins |
getTitleMargins()
Returns the margins of the title.
|
int |
getTriangleHeight()
Returns the height of the triangle at the bottom of the popup.
|
int |
getTriangleWidth()
Returns the width of the triangle at the bottom of the popup.
|
boolean |
isDescriptionWrap()
Returns the state of the description wrap parameter.
|
boolean |
isTitleWrap()
Returns the state of the title wrap parameter.
|
static BalloonPopupStyle |
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.
|
getCPtr
getAttachAnchorPointX, getAttachAnchorPointY, getCPtr, getHorizontalOffset, getPlacementPriority, getVerticalOffset, isCausesOverlap, isHideIfOverlapped, isScaleWithDPI
public BalloonPopupStyle(long cPtr, boolean cMemoryOwn)
public BalloonPopupStyle(Color color, float attachAnchorPointX, float attachAnchorPointY, boolean causesOverlap, boolean hideIfOverlapped, float horizontalOffset, float verticalOffset, int placementPriority, boolean scaleWithDPI, int cornerRadius, Color leftColor, Bitmap leftImage, BalloonPopupMargins leftMargins, Color rightColor, Bitmap rightImage, BalloonPopupMargins rightMargins, Color titleColor, java.lang.String titleFontName, int titleFontSize, BalloonPopupMargins titleMargins, boolean titleWrap, Color descColor, java.lang.String descFontName, int descFontSize, BalloonPopupMargins descMargins, boolean descWrap, Color strokeColor, int strokeWidth, int triangleWidth, int triangleHeight)
color
- The color for the popup.attachAnchorPointX
- The horizontal attaching anchor point for the popup.attachAnchorPointY
- The vertical attaching anchor point for the popup.causesOverlap
- The causes overlap flag for the billboard.hideIfOverlapped
- The hide if overlapped flag for the billboard.horizontalOffset
- The horizontal offset for the popup.verticalOffset
- The vertical offset for the popup.placementPriority
- The placement priority for the popup.scaleWithDPI
- The scale with DPI flag for the popup.cornerRadius
- The corner radius of the popup in dp.leftColor
- The background color of the left part of the popup.leftImage
- The image of the left part of the popup.leftMargins
- The margins of the left part of the popup.rightColor
- The background color of the right part of the popup.rightImage
- The margins of the right part of the popup.rightMargins
- The margins of the right part of the popup.titleColor
- The color of the title.titleFontName
- The name of the title font.titleFontSize
- The size of the title font.titleMargins
- The margins of the title.titleWrap
- True if long titles are wrapped, false if it is truncated.descColor
- The color of the description.descFontName
- The name of the description font.descFontSize
- The size of the description font.descMargins
- The margins of the description.descWrap
- True if long descriptions are wrapped, false if it is truncated.strokeColor
- The color of the stroke surrounding the popup.strokeWidth
- The width of the stroke surrounding the popup in dp.triangleWidth
- The width of the triangle at the bottom of the popup in dp.triangleHeight
- The height of the triangle at the bottom of the popup in dp.public static long getCPtr(BalloonPopupStyle obj)
protected void finalize()
finalize
in class PopupStyle
public void delete()
delete
in class PopupStyle
public static BalloonPopupStyle swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public Color getBackgroundColor()
public int getCornerRadius()
public Color getLeftColor()
public Bitmap getLeftImage()
public BalloonPopupMargins getLeftMargins()
public Color getRightColor()
public Bitmap getRightImage()
public BalloonPopupMargins getRightMargins()
public Color getTitleColor()
public java.lang.String getTitleFontName()
public int getTitleFontSize()
public BalloonPopupMargins getTitleMargins()
public boolean isTitleWrap()
public Color getDescriptionColor()
public java.lang.String getDescriptionFontName()
public int getDescriptionFontSize()
public BalloonPopupMargins getDescriptionMargins()
public boolean isDescriptionWrap()
public Color getStrokeColor()
public int getStrokeWidth()
public int getTriangleWidth()
public int getTriangleHeight()
public java.lang.String swigGetClassName()
swigGetClassName
in class PopupStyle
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class PopupStyle