public class ChartWindArrow extends Object
| 构造器 | 说明 |
|---|---|
ChartWindArrow() |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
draw(Graphics2D g,
float x,
float y) |
Draw text
|
double |
getAngle() |
Get angle
|
ArrowBreak |
getArrowBreak() |
Get arrow break
|
Color |
getBackground() |
Get background color
|
Font |
getFont() |
Get font
|
String |
getLabel() |
Get label
|
Color |
getLabelColor() |
Get label color
|
int |
getLabelSep() |
Get the distance between arrow and label
|
Object |
getLayer() |
Get layer
|
float |
getLength() |
Get length
|
Color |
getNeatlineColor() |
Get neatline color
|
float |
getNeatlineSize() |
Get neatline size
|
WindArrow |
getWindArrow() |
Get wind arrow
|
float |
getX() |
Get x
|
float |
getY() |
Get y
|
boolean |
isDrawNeatline() |
Get draw neatline or not
|
boolean |
isFill() |
Get if is fill background
|
void |
setAngle(double value) |
Set angle
|
void |
setArrowBreak(ArrowBreak value) |
Set arrow break
|
void |
setBackground(Color value) |
Set background color
|
void |
setDrawNeatline(boolean value) |
Set draw neatline or not
|
void |
setFill(boolean value) |
Set fill background or not
|
void |
setFont(Font value) |
Set font
|
void |
setLabel(String value) |
Set label
|
void |
setLabelColor(Color value) |
Set label color
|
void |
setLabelSep(int value) |
Set the distance between arrow and label
|
void |
setLayer(Object value) |
Set layer
|
void |
setLength(float value) |
Set length
|
void |
setNeatlineColor(Color value) |
Set neatline color
|
void |
setNeatlineSize(float value) |
Set neatline size
|
void |
setX(float value) |
Set x
|
void |
setY(float value) |
Set y
|
public WindArrow getWindArrow()
public ArrowBreak getArrowBreak()
public void setArrowBreak(ArrowBreak value)
value - Arrow breakpublic float getLength()
public void setLength(float value)
value - Lengthpublic double getAngle()
public void setAngle(double value)
value - Anglepublic Object getLayer()
public void setLayer(Object value)
value - Layerpublic Font getFont()
public void setFont(Font value)
value - Fontpublic Color getLabelColor()
public void setLabelColor(Color value)
value - Label colorpublic int getLabelSep()
public void setLabelSep(int value)
value - Distance between arrow and labelpublic float getX()
public void setX(float value)
value - Xpublic float getY()
public void setY(float value)
value - Ypublic String getLabel()
public void setLabel(String value)
value - Labelpublic Color getBackground()
public void setBackground(Color value)
value - Background colorpublic boolean isFill()
public void setFill(boolean value)
value - Booleanpublic boolean isDrawNeatline()
public void setDrawNeatline(boolean value)
value - Booleanpublic Color getNeatlineColor()
public void setNeatlineColor(Color value)
value - Neatline colorpublic float getNeatlineSize()
public void setNeatlineSize(float value)
value - Neatline sizepublic void draw(Graphics2D g, float x, float y)
g - Graphics2Dx - Xy - YCopyright © 2019. All rights reserved.