public class LayoutScaleBar extends LayoutElement
| 限定符和类型 | 类 | 说明 |
|---|---|---|
class |
LayoutScaleBar.LayoutScaleBarBean |
|
static class |
LayoutScaleBar.LayoutScaleBarBeanBeanInfo |
|
static class |
LayoutScaleBar.ScaleBarTypeEditor |
| 构造器 | 说明 |
|---|---|
LayoutScaleBar(LayoutMap layoutMap) |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getBreakNumber() |
Get break number
|
Font |
getFont() |
Get font
|
LayoutMap |
getLayoutMap() |
Get layout map
|
Color |
getNeatLineColor() |
Get neat line color
|
float |
getNeatLineSize() |
Get neat line size
|
ScaleBarType |
getScaleBarType() |
Get scale bar type
|
boolean |
isDrawNeatLine() |
Get if draw neat line
|
boolean |
isDrawScaleText() |
Get if draw scale text
|
void |
moveUpdate() |
Move update method
|
void |
paint(Graphics2D g) |
Paint method
|
void |
paintGraphics(Graphics2D g,
PointF pageLocation,
float zoom) |
Paint graphics
|
void |
paintOnLayout(Graphics2D g,
PointF pageLocation,
float zoom) |
Paint on layout method
|
void |
resizeUpdate() |
Resize update method
|
void |
setBreakNumber(int num) |
Set break number
|
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 |
setNeatLineColor(Color color) |
Set neat line color
|
void |
setNeatLineSize(float size) |
Set neat line size
|
void |
setScaleBarType(ScaleBarType type) |
Set scale bar type
|
addLocationChangedListener, addSizeChangedListener, fireLocationChangedEvent, fireSizeChangedEvent, getBackColor, getBottom, getBounds, getElementType, getForeColor, getHeight, getLeft, getResizeAbility, getRight, getTop, getWidth, isDrawBackColor, isSelected, isVisible, pageToScreen, removeLocationChangedListener, removeSizeChangedListener, setBackColor, setDrawBackColor, setElementType, setForeColor, setHeight, setLeft, setResizeAbility, setSelected, setTop, setVisible, setWidthpublic LayoutScaleBar(LayoutMap layoutMap)
layoutMap - The layout mappublic LayoutMap getLayoutMap()
public ScaleBarType getScaleBarType()
public void setScaleBarType(ScaleBarType 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 void paint(Graphics2D g)
LayoutElementpaint 在类中 LayoutElementg - Graphics2Dpublic void paintOnLayout(Graphics2D g, PointF pageLocation, float zoom)
LayoutElementpaintOnLayout 在类中 LayoutElementg - Grahpics2DpageLocation - Page locationzoom - Zoompublic void paintGraphics(Graphics2D g, PointF pageLocation, float zoom)
g - GraphicspageLocation - Page locationzoom - Zoompublic void moveUpdate()
LayoutElementmoveUpdate 在类中 LayoutElementpublic void resizeUpdate()
LayoutElementresizeUpdate 在类中 LayoutElementCopyright © 2019. All rights reserved.