| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Color |
getBackColor() |
Get background color
|
Rectangle |
getBounds() |
Get bounds rectangle
|
Color |
getForeColor() |
Get foreground color
|
Font |
getGridFont() |
Get grid label font
|
String |
getGridLabelPosition() |
Get grid label position
|
int |
getGridLabelShift() |
Get grid label shift
|
Color |
getGridLineColor() |
Get grid line color
|
float |
getGridLineSize() |
Get grid line size
|
String |
getGridLineStyle() |
Get grid line style
|
double |
getGridXDelt() |
Get grid x delt
|
float |
getGridXOrigin() |
Get grid x origin
|
double |
getGridYDelt() |
Get grid y delt
|
float |
getGridYOrigin() |
Get grid y origin
|
int |
getHeight() |
Get height
|
int |
getLeft() |
Get left
|
Color |
getNeatLineColor() |
Get map view neat line color
|
float |
getNeatLineSize() |
Get map view neat line size
|
int |
getTickLineLength() |
Get grid tick line length
|
int |
getTop() |
Get top
|
int |
getWidth() |
Get width
|
boolean |
isDrawBackColor() |
Get is draw backcolor
|
boolean |
isDrawDegreeSymbol() |
Get if draw degree symbol
|
boolean |
isDrawGridLabel() |
Get if draw grid labels
|
boolean |
isDrawGridLine() |
Get if draw grid line
|
boolean |
isDrawGridTickLine() |
Get if draw grid tick line
|
boolean |
isDrawNeatLine() |
Get if draw map view neat line
|
boolean |
isInsideTickLine() |
Get if draw grid tick line inside
|
void |
setBackColor(Color color) |
Set background color
|
void |
setBounds(Rectangle rect) |
Set bounds rectangle
|
void |
setDrawBackColor(boolean value) |
Set is draw backcolor
|
void |
setDrawDegreeSymbol(boolean value) |
Set if draw degree symbol
|
void |
setDrawGridLabel(boolean istrue) |
Set if draw grid labels
|
void |
setDrawGridLine(boolean istrue) |
Set if draw grid line
|
void |
setDrawGridTickLine(boolean istrue) |
Set if draw grid tick line
|
void |
setDrawNeatLine(boolean istrue) |
Set if draw map view neat line
|
void |
setForeColor(Color color) |
Set foreground color
|
void |
setGridFont(Font font) |
Set grid label font
|
void |
setGridLabelPosition(String value) |
Set grid label positiont
|
void |
setGridLabelShift(int value) |
Set grid label shift
|
void |
setGridLineColor(Color color) |
Set grid line color
|
void |
setGridLineSize(float size) |
Set grid line size
|
void |
setGridLineStyle(String style) |
Set grid line style
|
void |
setGridXDelt(double value) |
Set grid x delt
|
void |
setGridXOrigin(float value) |
Set grid x origin
|
void |
setGridYDelt(double value) |
Set grid y delt
|
void |
setGridYOrigin(float value) |
Set grid y origin
|
void |
setHeight(int height) |
Set height
|
void |
setInsideTickLine(boolean istrue) |
Set if draw grid tick line inside
|
void |
setLeft(int left) |
Set left
|
void |
setNeatLineColor(Color color) |
Set map view neat line color
|
void |
setNeatLineSize(float size) |
Set map view neat line size
|
void |
setTickLineLength(int value) |
Set grid tick line length
|
void |
setTop(int top) |
Set top
|
void |
setWidth(int width) |
Set width
|
public 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 - Heightpublic Rectangle getBounds()
public void setBounds(Rectangle rect)
rect - Bounds rectanglepublic boolean isDrawBackColor()
public void setDrawBackColor(boolean value)
value - Booleanpublic Color getBackColor()
public void setBackColor(Color color)
color - Background colorpublic Color getForeColor()
public void setForeColor(Color color)
color - public boolean isDrawNeatLine()
public void setDrawNeatLine(boolean istrue)
istrue - Booleanpublic Color getNeatLineColor()
public void setNeatLineColor(Color color)
color - Neat line colorpublic float getNeatLineSize()
public void setNeatLineSize(float size)
size - Neat line sizepublic Color getGridLineColor()
public void setGridLineColor(Color color)
color - Grid line colorpublic float getGridLineSize()
public void setGridLineSize(float size)
size - Grid line sizepublic String getGridLineStyle()
public void setGridLineStyle(String style)
style - Grid line stylepublic boolean isDrawGridLabel()
public void setDrawGridLabel(boolean istrue)
istrue - Booleanpublic boolean isInsideTickLine()
public void setInsideTickLine(boolean istrue)
istrue - Booleanpublic int getTickLineLength()
public void setTickLineLength(int value)
value - tick line lengthpublic int getGridLabelShift()
public void setGridLabelShift(int value)
value - Grid label shiftpublic String getGridLabelPosition()
public void setGridLabelPosition(String value)
value - Grid label positionpublic boolean isDrawGridLine()
public void setDrawGridLine(boolean istrue)
istrue - If draw grid linepublic boolean isDrawGridTickLine()
public void setDrawGridTickLine(boolean istrue)
istrue - Booleanpublic boolean isDrawDegreeSymbol()
public void setDrawDegreeSymbol(boolean value)
value - Booleanpublic Font getGridFont()
public void setGridFont(Font font)
font - Grid label fontpublic double getGridXDelt()
public void setGridXDelt(double value)
value - The valuepublic double getGridYDelt()
public void setGridYDelt(double value)
value - Grid y deltpublic float getGridXOrigin()
public void setGridXOrigin(float value)
value - Grid x originpublic float getGridYOrigin()
public void setGridYOrigin(float value)
value - Grid y originCopyright © 2019. All rights reserved.