public class LayoutScaleBar.LayoutScaleBarBean extends Object
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Color |
getBackColor() |
Get background color
|
int |
getBreakNumber() |
Get break number
|
Font |
getFont() |
Get font
|
Color |
getForeColor() |
Get foreground color
|
int |
getHeight() |
Get height
|
int |
getLeft() |
Get left
|
Color |
getNeatLineColor() |
Get neat line color
|
float |
getNeatLineSize() |
Get neat line size
|
String |
getScaleBarType() |
Get scale bar type
|
int |
getTop() |
Get top
|
int |
getWidth() |
Get width
|
boolean |
isDrawBackColor() |
Get is draw backcolor
|
boolean |
isDrawNeatLine() |
Get if draw neat line
|
boolean |
isDrawScaleText() |
Get if draw scale text
|
void |
setBackColor(Color c) |
Set background color
|
void |
setBreakNumber(int num) |
Set break number
|
void |
setDrawBackColor(boolean value) |
Set is draw backcolor
|
void |
setDrawNeatLine(boolean istrue) |
Set if draw neat line
|
void |
setDrawScaleText(boolean istrue) |
Set if draw scale text
|
void |
setFont(Font font) |
Set font
|
void |
setForeColor(Color c) |
Set foreground color
|
void |
setHeight(int height) |
Set height
|
void |
setLeft(int left) |
Set left
|
void |
setNeatLineColor(Color color) |
Set neat line color
|
void |
setNeatLineSize(float size) |
Set neat line size
|
void |
setScaleBarType(String type) |
Set scale bar type
|
void |
setTop(int top) |
Set top
|
void |
setWidth(int width) |
Set width
|
public String getScaleBarType()
public void setScaleBarType(String type)
type - Scale bar typepublic boolean isDrawNeatLine()
public void setDrawNeatLine(boolean istrue)
istrue - If draw neat linepublic Color getNeatLineColor()
public void setNeatLineColor(Color color)
color - Neat line colorpublic float getNeatLineSize()
public void setNeatLineSize(float size)
size - Neat line sizepublic Font getFont()
public void setFont(Font font)
font - The fontpublic int getBreakNumber()
public void setBreakNumber(int num)
num - Break numberpublic boolean isDrawScaleText()
public void setDrawScaleText(boolean istrue)
istrue - If draw scale textpublic boolean isDrawBackColor()
public void setDrawBackColor(boolean value)
value - Booleanpublic Color getBackColor()
public void setBackColor(Color c)
c - Background colorpublic Color getForeColor()
public void setForeColor(Color c)
c - Foreground colorpublic int getLeft()
public void setLeft(int left)
left - Leftpublic int getTop()
public void setTop(int top)
top - Toppublic int getWidth()
public void setWidth(int width)
width - Widthpublic int getHeight()
public void setHeight(int height)
height - HeightCopyright © 2019. All rights reserved.