public class ChartNorthArrow extends ChartElement
_backColor, _foreColor, height, width, x, y| 构造器 | 说明 |
|---|---|
ChartNorthArrow(MapPlot mapPlot) |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
draw(Graphics2D g,
float x,
float y) |
Draw text
|
float |
getAngle() |
Get angle
|
float |
getLineWidth() |
Get line widht
|
MapPlot |
getMapPlot() |
Get map plot
|
Color |
getNeatLineColor() |
Get neat line color
|
float |
getNeatLineSize() |
Get neat line size
|
boolean |
isDrawNeatLine() |
Get if draw neat line
|
void |
moveUpdate() |
Move update method
|
void |
paintGraphics(Graphics2D g,
PointF pageLocation,
float zoom) |
Paint graphics
|
void |
resizeUpdate() |
Resize update method
|
void |
setAngle(float angle) |
Set angle
|
void |
setDrawNeatLine(boolean istrue) |
Set if draw neat line
|
void |
setLineWidth(float value) |
Set line width
|
void |
setNeatLineColor(Color color) |
Set neat line color
|
void |
setNeatLineSize(float size) |
Set neat line size
|
addLocationChangedListener, addSizeChangedListener, fireLocationChangedEvent, fireSizeChangedEvent, getBackground, getBottom, getBounds, getForeground, getHeight, getResizeAbility, getRight, getWidth, getX, getY, isDrawBackColor, isSelected, isVisible, pageToScreen, removeLocationChangedListener, removeSizeChangedListener, setBackground, setDrawBackColor, setForeground, setHeight, setResizeAbility, setSelected, setVisible, setWidth, setX, setYpublic ChartNorthArrow(MapPlot mapPlot)
mapPlot - The map plotpublic MapPlot getMapPlot()
public float getLineWidth()
public void setLineWidth(float value)
value - Line widthpublic 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 float getAngle()
public void setAngle(float angle)
angle - The anglepublic void draw(Graphics2D g, float x, float y)
g - Graphics2Dx - Xy - Ypublic void paintGraphics(Graphics2D g, PointF pageLocation, float zoom)
g - GraphicspageLocation - Page locationzoom - Zoompublic void moveUpdate()
ChartElementmoveUpdate 在类中 ChartElementpublic void resizeUpdate()
ChartElementresizeUpdate 在类中 ChartElementCopyright © 2019. All rights reserved.