public class Draw extends Object
| 构造器 | 说明 |
|---|---|
Draw() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static StationModelShape |
calStationModel(float windDir,
float windSpeed,
double value,
float size,
PointD sPoint,
int weather,
int temp,
int dewPoint,
int pressure,
int cloudCover) |
Create station model shape
|
static WindBarb |
calWindBarb(float windDir,
float windSpeed,
double value,
float size,
PointD sPoint) |
Create wind barb from wind direction/speed
|
static Rectangle2D |
drawArraw(Color aColor,
PointF sP,
WindArrow aArraw,
Graphics2D g,
double zoom) |
Draw wind arrow
|
static void |
drawArraw(Graphics2D g,
PointF sP,
double angle) |
Draw arraw
|
static void |
drawArraw(Graphics2D g,
PointF sP,
double angle,
float length,
float width,
float overhang) |
Draw arraw
|
static void |
drawArraw(Graphics2D g,
PointF sP,
double angle,
float length,
float width,
float overhang,
Color fillColor,
Color outlineColor) |
Draw arraw
|
static void |
drawArraw(Graphics2D g,
PointF sP,
double angle,
int size) |
Draw arraw
|
static Rectangle2D |
drawArraw(PointF sP,
WindArrow aArraw,
ArrowBreak pb,
Graphics2D g,
double zoom) |
Draw wind arrow
|
static void |
drawArrow(PointF[] points,
PointBreak pb,
int arrowSize,
Graphics2D g) |
Draw arrow line
|
static void |
drawBar(PointF aPoint,
float width,
float height,
PolygonBreak aPGB,
Graphics2D g,
boolean isView3D,
int thickness) |
Draw bar chart symbol
|
static void |
drawBar(PointF aPoint,
int width,
int height,
PolygonBreak aPGB,
Graphics2D g,
boolean isView3D,
int thickness) |
Draw bar chart symbol
|
static void |
drawBarChartSymbol(PointF aPoint,
ChartBreak aCB,
Graphics2D g) |
Draw bar chart symbol
|
static void |
drawBarChartSymbol(PointF aPoint,
ChartBreak aCB,
Graphics2D g,
boolean drawValue) |
Draw bar chart symbol
|
static void |
drawBarChartSymbol(PointF sPoint,
ChartBreak aCB,
Graphics2D g,
boolean drawValue,
Font font) |
Draw bar chart symbol
|
static void |
drawChartPoint(PointF aPoint,
ChartBreak aCB,
Graphics2D g) |
Draw chart point
|
static void |
drawCircle(PointF[] points,
PolygonBreak aPGB,
Graphics2D g) |
Draw circle
|
static void |
drawCurveLine(List<PointF> points,
Graphics2D g) |
Draw curve line
|
static void |
drawCurveLine(PointF[] points,
Graphics2D g) |
Draw curve line
|
static void |
drawCurveLine(PointF[] points,
PolylineBreak aPLB,
Graphics2D g) |
Draw curve line
|
static void |
drawCurvePolygon(PointF[] points,
PolygonBreak aPGB,
Graphics2D g) |
Draw curve polygon
|
static void |
drawEllipse(PointF[] points,
float angle,
PolygonBreak aPGB,
Graphics2D g) |
Draw ellipse
|
static void |
drawEllipse(PointF[] points,
PolygonBreak aPGB,
Graphics2D g) |
Draw ellipse
|
static void |
drawGrahpic(PointF[] points,
Graphic aGraphic,
Graphics2D g,
boolean isEditingVertice) |
Draw graphic
|
static void |
drawLabelPoint(float x,
float y,
Font font,
String text,
Color color,
float angle,
Graphics2D g,
Rectangle rect) |
Draw label point
|
static void |
drawLabelPoint(float x,
float y,
Font font,
String text,
Color color,
float angle,
Graphics2D g,
Rectangle rect,
boolean useExternalFont) |
Draw label point
|
static void |
drawLabelPoint(PointF aPoint,
LabelBreak aLB,
Graphics2D g,
Rectangle rect) |
Draw label point
|
static void |
drawLaTeX(Graphics2D g,
String str,
float x,
float y,
boolean useExternalFont) |
Draw LaTeX string
|
static void |
drawLaTeX(Graphics2D g,
String str,
float size,
float x,
float y,
boolean useExternalFont) |
Draw LaTeX string
|
static void |
drawMapPoint(PointF aP,
PointBreak aPB,
Graphics2D g) |
Draw point
|
static void |
drawPie(PointF aPoint,
float width,
float height,
float startAngle,
float sweepAngle,
PolygonBreak aPGB,
float wedgeWidth,
Graphics2D g) |
Draw pie
|
static void |
drawPie(PointF aPoint,
float width,
float height,
float startAngle,
float sweepAngle,
PolygonBreak aPGB,
Graphics2D g) |
Draw pie
|
static void |
drawPieChartSymbol(PointF aPoint,
ChartBreak aCB,
Graphics2D g,
List<String> labels) |
Draw pie chart symbol
|
static void |
drawPoint(PointF aP,
PointBreak aPB,
Graphics2D g) |
Draw point
|
static void |
drawPoint(PointStyle aPS,
PointF aP,
Color color,
Color outlineColor,
float aSize,
Boolean drawOutline,
Boolean drawFill,
Graphics2D g) |
Draw point
|
static void |
drawPolygon(PointD[] points,
Color aColor,
Color outlineColor,
boolean drawFill,
boolean drawOutline,
Graphics2D g) |
Draw polygon
|
static void |
drawPolygon(PointD[] points,
PolygonBreak aPGB,
Graphics2D g) |
Draw polygon
|
static void |
drawPolygon(PointF[] points,
Color aColor,
Color outlineColor,
boolean drawFill,
boolean drawOutline,
Graphics2D g) |
Draw polygon
|
static void |
drawPolygon(PointF[] points,
PolygonBreak aPGB,
Graphics2D g) |
Draw polygon
|
static void |
drawPolygon(Polygon aPG,
PolygonBreak aPGB,
Graphics2D g) |
Draw polygon with screen coordinate
|
static void |
drawPolygonShape(PolygonShape pgs,
PolygonBreak pgb,
Graphics2D g) |
Draw polygon shape with screen coordinates
|
static void |
drawPolygonSymbol(double x,
double y,
double width,
double height,
PolygonBreak aPGB,
Graphics2D g) |
Draw polygon symbol
|
static void |
drawPolygonSymbol(double x,
double y,
Color aColor,
Color outlineColor,
double width,
double height,
Boolean drawFill,
Boolean drawOutline,
Graphics2D g) |
Draw polygon symbol
|
static void |
drawPolygonSymbol(PointF aP,
float width,
float height,
PolygonBreak aPGB,
Graphics2D g) |
Draw polygon symbol
|
static void |
drawPolygonSymbol(PointF aP,
Color aColor,
Color outlineColor,
float width,
float height,
Boolean drawFill,
Boolean drawOutline,
Graphics2D g) |
Draw polygon symbol
|
static void |
drawPolyline(List<PointF> points,
Graphics2D g) |
Draw polyline
|
static void |
drawPolyline(PointD[] points,
Graphics2D g) |
Draw polyline
|
static void |
drawPolyline(PointF[] points,
Graphics2D g) |
Draw polyline
|
static void |
drawPolyline(PointF[] points,
Graphics2D g,
List<Integer> mvIdx) |
Draw polyline
|
static void |
drawPolyline(PointF[] points,
ArrowLineBreak alb,
Graphics2D g) |
Draw polyline
|
static void |
drawPolyline(PointF[] points,
ColorBreakCollection pbc,
Graphics2D g) |
Draw polyline
|
static void |
drawPolyline(PointF[] points,
PolylineBreak aPLB,
Graphics2D g) |
Draw polyline
|
static void |
drawPolyline(PointF[] points,
PolylineBreak aPLB,
Graphics2D g,
List<Integer> mvIdx) |
Draw polyline
|
static void |
drawPolylineSymbol(PointF aP,
float width,
float height,
PolylineBreak aPLB,
Graphics2D g) |
Draw polyline symbol
|
static void |
drawPolylineSymbol_S(PointF aP,
float width,
float height,
PolylineBreak aPLB,
Graphics2D g) |
Draw polyline symbol
|
static void |
drawRectangle(PointF aPoint,
float width,
float height,
PolygonBreak aPGB,
Graphics2D g) |
Draw rectangle
|
static void |
drawSelectedCorners(Graphics2D g,
Rectangle gRect) |
Draw selected four corner rectangles
|
static void |
drawSelectedEdgeCenters(Graphics2D g,
Rectangle gRect) |
Draw selected four bouder edge center rectangles
|
static void |
drawSelectedVertice(Graphics2D g,
PointF point,
float size,
Color outlineColor,
Color fillColor) |
Draw selected vertice rectangles
|
static void |
drawSelectedVertices(Graphics2D g,
PointF[] points) |
Draw selected vertices rectangles
|
static void |
drawSelectedVertices(Graphics2D g,
PointF[] points,
float size,
Color outlineColor,
Color fillColor) |
Draw selected vertices rectangles
|
static void |
drawStationModel(Color aColor,
Color foreColor,
PointF sP,
StationModelShape aSM,
Graphics2D g,
float size,
float cut) |
Draw station model shape
|
static void |
drawString(Graphics2D g,
double x,
double y,
String s,
XAlign x_align,
YAlign y_align,
boolean useExternalFont) |
Draws string at the specified coordinates with the specified alignment.
|
static void |
drawString(Graphics2D g,
double x,
double y,
String s,
XAlign x_align,
YAlign y_align,
float angle,
boolean useExternalFont) |
Draw out string
|
static void |
drawString(Graphics2D g,
float x,
float y,
String s,
XAlign x_align,
YAlign y_align,
boolean useExternalFont) |
Draws string at the specified coordinates with the specified alignment.
|
static void |
drawString(Graphics2D g,
float x,
float y,
String s,
XAlign x_align,
YAlign y_align,
float angle,
boolean useExternalFont) |
Draw out string
|
static void |
drawString(Graphics2D g,
String str,
double x,
double y) |
Draw string
|
static void |
drawString(Graphics2D g,
String str,
double x,
double y,
boolean useExternalFont) |
Draw string
|
static void |
drawString(Graphics2D g,
String str,
float x,
float y) |
Draw string
|
static void |
drawString(Graphics2D g,
String str,
float x,
float y,
boolean useExternalFont) |
Draw string
|
static void |
drawTickLabel(float x,
float y,
Font font,
String text,
Color color,
float angle,
Graphics2D g) |
Draw label point
|
static void |
drawTickLabel_Y(float x,
float y,
Font font,
String text,
Color color,
float angle,
Graphics2D g) |
Draw label point
|
static void |
drawTickLabel_YRight(float x,
float y,
Font font,
String text,
Color color,
float angle,
Graphics2D g) |
Draw label point
|
static void |
drawWindBarb(Color aColor,
PointF sP,
WindBarb aWB,
Graphics2D g,
float size) |
Draw wind barb
|
static void |
drawWindBarb(Color aColor,
PointF sP,
WindBarb aWB,
Graphics2D g,
float size,
float cut) |
Draw wind barb
|
static void |
drawWindBarb(PointF sP,
WindBarb aWB,
PointBreak pb,
Graphics2D g) |
Draw wind barb
|
static void |
fillPolygon(PointD[] points,
Graphics2D g,
PolygonBreak aPGB) |
Fill polygon
|
static void |
fillPolygon(PointF[] points,
Graphics2D g,
PolygonBreak aPGB) |
Fill polygon
|
static Rectangle2D |
getArrawBorder(PointF sP,
WindArrow aArraw,
Graphics2D g,
double zoom) |
Draw wind arrow
|
static float[] |
getDashPattern(LineStyles style) |
Get dash pattern from LineStyle
|
static BufferedImage |
getHatchImage(HatchStyle style,
int size,
Color stripeColor,
Color backColor) |
Get hatch style image
|
static PointF |
getPieLabelPoint(PointF sPoint,
float r,
float angle) |
Get pie wedge label point
|
static Dimension |
getStringDimension(String str,
float angle,
Graphics2D g) |
Get string dimension
|
static Dimension |
getStringDimension(String str,
float angle,
Graphics2D g,
boolean isLaTeX) |
Get string dimension
|
static Dimension |
getStringDimension(String str,
Graphics2D g) |
Get string dimension
|
static Dimension |
getStringDimension(String str,
Graphics2D g,
boolean isLaTeX) |
Get string dimension
|
static StringType |
getStringType(String str) |
Get string type [NORMAL | LATEX | MIXING].
|
static List<String> |
splitMixingString(String str) |
Split mixing string by $
|
static AffineTransform |
transform(Graphics2D g,
double x,
double y,
String s,
XAlign x_align,
YAlign y_align,
float angle) |
Graphics transform
|
static AffineTransform |
transform(Graphics2D g,
float x,
float y,
String s,
XAlign x_align,
YAlign y_align,
float angle) |
Graphics transform
|
public static StringType getStringType(String str)
str - The stringpublic static List<String> splitMixingString(String str)
str - The mixing stringpublic static Dimension getStringDimension(String str, Graphics2D g, boolean isLaTeX)
str - Stringg - Graphics2DisLaTeX - Is LaTeX or notpublic static Dimension getStringDimension(String str, float angle, Graphics2D g, boolean isLaTeX)
str - Stringangle - Angleg - Graphics2DisLaTeX - Is LaTeX or notpublic static Dimension getStringDimension(String str, Graphics2D g)
str - Stringg - Graphics2Dpublic static Dimension getStringDimension(String str, float angle, Graphics2D g)
str - Stringangle - Angleg - Graphics2Dpublic static void drawString(Graphics2D g, String str, float x, float y)
g - Graphics2Dstr - Stringx - Xy - Ypublic static void drawString(Graphics2D g, String str, double x, double y)
g - Graphics2Dstr - Stringx - Xy - Ypublic static void drawString(Graphics2D g, String str, float x, float y, boolean useExternalFont)
g - Graphics2Dstr - Stringx - Xy - YuseExternalFont - If use external fontpublic static void drawString(Graphics2D g, String str, double x, double y, boolean useExternalFont)
g - Graphics2Dstr - Stringx - Xy - YuseExternalFont - If use external fontpublic static void drawLaTeX(Graphics2D g, String str, float x, float y, boolean useExternalFont)
g - Graphics2Dstr - Stringx - Xy - YuseExternalFont - If use external fontpublic static void drawLaTeX(Graphics2D g, String str, float size, float x, float y, boolean useExternalFont)
g - Graphics2Dstr - Stringsize - Sizex - Xy - YuseExternalFont - If use external fontpublic static WindBarb calWindBarb(float windDir, float windSpeed, double value, float size, PointD sPoint)
windDir - Wind directionwindSpeed - Wind speedvalue - Valuesize - SizesPoint - Start pointpublic static StationModelShape calStationModel(float windDir, float windSpeed, double value, float size, PointD sPoint, int weather, int temp, int dewPoint, int pressure, int cloudCover)
windDir - Wind directionwindSpeed - Wind speedvalue - Valuesize - SizesPoint - Location pointweather - Weathertemp - TemperaturedewPoint - Dew pointpressure - PressurecloudCover - Cloud coverpublic static Rectangle2D getArrawBorder(PointF sP, WindArrow aArraw, Graphics2D g, double zoom)
sP - Start pointaArraw - The arrowg - Graphics2Dzoom - Zoompublic static void drawArrow(PointF[] points, PointBreak pb, int arrowSize, Graphics2D g)
points - Line pointspb - LegendarrowSize - ArrowSizeg - Graphics2Dpublic static Rectangle2D drawArraw(Color aColor, PointF sP, WindArrow aArraw, Graphics2D g, double zoom)
aColor - The colorsP - Start pointaArraw - The arrowg - Graphics2Dzoom - Zoompublic static Rectangle2D drawArraw(PointF sP, WindArrow aArraw, ArrowBreak pb, Graphics2D g, double zoom)
sP - Start pointaArraw - The arrowpb - PointBreakg - Graphics2Dzoom - Zoompublic static void drawArraw(Graphics2D g, PointF sP, double angle)
g - Graphics2DsP - Start pointangle - Anglepublic static void drawArraw(Graphics2D g, PointF sP, double angle, int size)
g - Graphics2DsP - Start pointangle - Anglesize - Arrow sizepublic static void drawArraw(Graphics2D g, PointF sP, double angle, float length, float width, float overhang)
g - Graphics2DsP - Start pointangle - Anglelength - Arrow lengthwidth - Arrow widthoverhang - Overhangpublic static void drawArraw(Graphics2D g, PointF sP, double angle, float length, float width, float overhang, Color fillColor, Color outlineColor)
g - Graphics2DsP - Start pointangle - Anglelength - Arrow lengthwidth - Arrow widthoverhang - OverhangfillColor - Arrow fill coloroutlineColor - Arrow outline colorpublic static void drawWindBarb(Color aColor, PointF sP, WindBarb aWB, Graphics2D g, float size)
aColor - ColorsP - PointaWB - WindBarbg - Grahics2Dsize - Sizepublic static void drawWindBarb(PointF sP, WindBarb aWB, PointBreak pb, Graphics2D g)
sP - PointaWB - WindBarbpb - PointBreakg - Grahics2Dpublic static void drawWindBarb(Color aColor, PointF sP, WindBarb aWB, Graphics2D g, float size, float cut)
aColor - ColorsP - PointaWB - WindBarbg - Grahics2Dsize - Sizecut - Cutpublic static void drawPoint(PointStyle aPS, PointF aP, Color color, Color outlineColor, float aSize, Boolean drawOutline, Boolean drawFill, Graphics2D g)
aPS - Point styleaP - The point positioncolor - The coloroutlineColor - Outline coloraSize - sizedrawOutline - If draw outlinedrawFill - If draw fillg - Graphics2Dpublic static void drawPoint(PointF aP, PointBreak aPB, Graphics2D g)
aP - PositionaPB - Point breakg - Graphicspublic static void drawMapPoint(PointF aP, PointBreak aPB, Graphics2D g)
aP - PositionaPB - Point breakg - Graphicspublic static void drawString(Graphics2D g, float x, float y, String s, XAlign x_align, YAlign y_align, boolean useExternalFont)
g - graphics context to drawx - the x coordinatey - the y coordinates - the string to drawx_align - the alignment in x directiony_align - the alignment in y directionuseExternalFont - Use external font or notpublic static void drawString(Graphics2D g, double x, double y, String s, XAlign x_align, YAlign y_align, boolean useExternalFont)
g - graphics context to drawx - the x coordinatey - the y coordinates - the string to drawx_align - the alignment in x directiony_align - the alignment in y directionuseExternalFont - Use external font or notpublic static void drawString(Graphics2D g, float x, float y, String s, XAlign x_align, YAlign y_align, float angle, boolean useExternalFont)
g - Graphics2Dx - X locationy - Y locations - Stringx_align - X aligny_align - Y alignangle - AngleuseExternalFont - Use external font or notpublic static void drawString(Graphics2D g, double x, double y, String s, XAlign x_align, YAlign y_align, float angle, boolean useExternalFont)
g - Graphics2Dx - X locationy - Y locations - Stringx_align - X aligny_align - Y alignangle - AngleuseExternalFont - Use external font or notpublic static AffineTransform transform(Graphics2D g, float x, float y, String s, XAlign x_align, YAlign y_align, float angle)
g - Graphics2Dx - X locationy - Y locations - Stringx_align - X aligny_align - Y alignangle - Anglepublic static AffineTransform transform(Graphics2D g, double x, double y, String s, XAlign x_align, YAlign y_align, float angle)
g - Graphics2Dx - X locationy - Y locations - Stringx_align - X aligny_align - Y alignangle - Anglepublic static void drawLabelPoint(PointF aPoint, LabelBreak aLB, Graphics2D g, Rectangle rect)
aPoint - The screen pointaLB - The label breakg - Graphics2Drect - The extent rectanglepublic static void drawLabelPoint(float x,
float y,
Font font,
String text,
Color color,
float angle,
Graphics2D g,
Rectangle rect)
x - Xy - Yfont - Fonttext - Textcolor - Colorg - Graphics2Drect - The extent rectangleangle - Anglepublic static void drawLabelPoint(float x,
float y,
Font font,
String text,
Color color,
float angle,
Graphics2D g,
Rectangle rect,
boolean useExternalFont)
x - Xy - Yfont - Fonttext - Textcolor - Colorg - Graphics2Drect - The extent rectangleangle - AngleuseExternalFont - If use external fontpublic static void drawTickLabel(float x,
float y,
Font font,
String text,
Color color,
float angle,
Graphics2D g)
x - Xy - Yfont - Fonttext - Textcolor - Colorg - Graphics2Dangle - Anglepublic static void drawTickLabel_Y(float x,
float y,
Font font,
String text,
Color color,
float angle,
Graphics2D g)
x - Xy - Yfont - Fonttext - Textcolor - Colorg - Graphics2Dangle - Anglepublic static void drawTickLabel_YRight(float x,
float y,
Font font,
String text,
Color color,
float angle,
Graphics2D g)
x - Xy - Yfont - Fonttext - Textcolor - Colorg - Graphics2Dangle - Anglepublic static void drawStationModel(Color aColor, Color foreColor, PointF sP, StationModelShape aSM, Graphics2D g, float size, float cut)
aColor - ColorforeColor - Foreground colorsP - Start pointaSM - Station model shapeg - Graphics2Dsize - Sizecut - Cutpublic static void drawGrahpic(PointF[] points, Graphic aGraphic, Graphics2D g, boolean isEditingVertice)
points - The pointsaGraphic - The graphicg - Graphics2DisEditingVertice - Is editing verticepublic static void drawPolyline(List<PointF> points, Graphics2D g)
points - Points listg - Graphics2Dpublic static void drawPolyline(PointF[] points, Graphics2D g)
points - The points arrayg - Graphics2Dpublic static void drawPolyline(PointD[] points, Graphics2D g)
points - The points arrayg - Graphics2Dpublic static void drawPolyline(PointF[] points, Graphics2D g, List<Integer> mvIdx)
points - The points arrayg - Graphics2DmvIdx - Missing value index listpublic static void fillPolygon(PointF[] points, Graphics2D g, PolygonBreak aPGB)
points - The points arrayg - Graphics2DaPGB - Polygon breakpublic static void fillPolygon(PointD[] points, Graphics2D g, PolygonBreak aPGB)
points - The points arrayg - Graphics2DaPGB - Polygon breakpublic static void drawPolygonShape(PolygonShape pgs, PolygonBreak pgb, Graphics2D g)
pgs - Polygon shapepgb - Polygon breakg - Graphics2Dpublic static void drawPolygon(Polygon aPG, PolygonBreak aPGB, Graphics2D g)
aPG - Polygon shapeaPGB - Polygon breakg - Graphics2Dpublic static void drawPolygon(PointF[] points, PolygonBreak aPGB, Graphics2D g)
points - The pointsaPGB - The polygon breakg - Graphics2Dpublic static void drawPolygon(PointD[] points, PolygonBreak aPGB, Graphics2D g)
points - The pointsaPGB - The polygon breakg - Graphics2Dpublic static void drawPolygon(PointF[] points, Color aColor, Color outlineColor, boolean drawFill, boolean drawOutline, Graphics2D g)
points - The pointsaColor - Fill ocloroutlineColor - Outline colordrawFill - drawOutline - g - public static void drawPolygon(PointD[] points, Color aColor, Color outlineColor, boolean drawFill, boolean drawOutline, Graphics2D g)
points - The pointsaColor - Fill ocloroutlineColor - Outline colordrawFill - drawOutline - g - public static BufferedImage getHatchImage(HatchStyle style, int size, Color stripeColor, Color backColor)
style - Hatch stylesize - stripeColor - Stripe colorbackColor - Background colorpublic static float[] getDashPattern(LineStyles style)
style - The line stylepublic static void drawPolyline(PointF[] points, ArrowLineBreak alb, Graphics2D g)
points - The pointsalb - The arrow line breakg - Graphics2Dpublic static void drawPolyline(PointF[] points, PolylineBreak aPLB, Graphics2D g)
points - The pointsaPLB - The polyline breakg - Graphics2Dpublic static void drawPolyline(PointF[] points, ColorBreakCollection pbc, Graphics2D g)
points - The pointspbc - The polyline break collectiong - Graphics2Dpublic static void drawPolyline(PointF[] points, PolylineBreak aPLB, Graphics2D g, List<Integer> mvIdx)
points - The pointsaPLB - The polyline breakg - Graphics2DmvIdx - Missing value index listpublic static void drawPolylineSymbol(PointF aP, float width, float height, PolylineBreak aPLB, Graphics2D g)
aP - The pointwidth - The widthheight - The heightaPLB - The polyline breakg - Graphics2Dpublic static void drawPolylineSymbol_S(PointF aP, float width, float height, PolylineBreak aPLB, Graphics2D g)
aP - The pointwidth - The widthheight - The heightaPLB - The polyline breakg - Graphics2Dpublic static void drawPolygonSymbol(double x,
double y,
double width,
double height,
PolygonBreak aPGB,
Graphics2D g)
x - Xy - Ywidth - The widthheight - The heightaPGB - The polygon breakg - Graphics2Dpublic static void drawPolygonSymbol(PointF aP, float width, float height, PolygonBreak aPGB, Graphics2D g)
aP - The center pointwidth - The widthheight - The heightaPGB - The polygon breakg - Graphics2Dpublic static void drawPolygonSymbol(double x,
double y,
Color aColor,
Color outlineColor,
double width,
double height,
Boolean drawFill,
Boolean drawOutline,
Graphics2D g)
x - Xy - YaColor - Fill coloroutlineColor - Outline colorwidth - Widthheight - HeightdrawFill - If draw filldrawOutline - If draw outlineg - Grahics2Dpublic static void drawPolygonSymbol(PointF aP, Color aColor, Color outlineColor, float width, float height, Boolean drawFill, Boolean drawOutline, Graphics2D g)
aP - The center pointaColor - Fill coloroutlineColor - Outline colorwidth - Widthheight - HeightdrawFill - If draw filldrawOutline - If draw outlineg - Grahics2Dpublic static void drawRectangle(PointF aPoint, float width, float height, PolygonBreak aPGB, Graphics2D g)
aPoint - Start pointwidth - Widthheight - HeightaPGB - Polygon breakg - Graphics2Dpublic static void drawPie(PointF aPoint, float width, float height, float startAngle, float sweepAngle, PolygonBreak aPGB, Graphics2D g)
aPoint - Start pointwidth - Widthheight - HeightstartAngle - Start anglesweepAngle - Sweep angleaPGB - Polygon breakg - Graphics2Dpublic static void drawPie(PointF aPoint, float width, float height, float startAngle, float sweepAngle, PolygonBreak aPGB, float wedgeWidth, Graphics2D g)
aPoint - Start pointwidth - Widthheight - HeightstartAngle - Start anglesweepAngle - Sweep angleaPGB - Polygon breakwedgeWidth - Wedge widthg - Graphics2Dpublic static void drawCurveLine(PointF[] points, PolylineBreak aPLB, Graphics2D g)
points - The pointsaPLB - The polyline breakg - Graphics2Dpublic static void drawCurveLine(List<PointF> points, Graphics2D g)
points - The points listg - Graphics2Dpublic static void drawCurveLine(PointF[] points, Graphics2D g)
points - The pointsg - Graphics2Dpublic static void drawCurvePolygon(PointF[] points, PolygonBreak aPGB, Graphics2D g)
points - The pointsaPGB - Polygon breakg - Graphics2Dpublic static void drawCircle(PointF[] points, PolygonBreak aPGB, Graphics2D g)
points - The pointsaPGB - The polygon breakg - Graphics2Dpublic static void drawEllipse(PointF[] points, float angle, PolygonBreak aPGB, Graphics2D g)
points - The pointsangle - The angleaPGB - The polygon breakg - Grahpics2Dpublic static void drawEllipse(PointF[] points, PolygonBreak aPGB, Graphics2D g)
points - The pointsaPGB - The polygon breakg - Grahpics2Dpublic static void drawSelectedVertices(Graphics2D g, PointF[] points)
g - Graphics2Dpoints - The pointspublic static void drawSelectedVertices(Graphics2D g, PointF[] points, float size, Color outlineColor, Color fillColor)
g - Graphics2Dpoints - The pointssize - The sizeoutlineColor - Outline coloefillColor - Fill colorpublic static void drawSelectedVertice(Graphics2D g, PointF point, float size, Color outlineColor, Color fillColor)
g - Graphics2Dpoint - The pointsize - The sizeoutlineColor - Outline coloefillColor - Fill colorpublic static void drawSelectedCorners(Graphics2D g, Rectangle gRect)
g - Graphics2DgRect - The rectanglepublic static void drawSelectedEdgeCenters(Graphics2D g, Rectangle gRect)
g - Graphics2DgRect - The rectanglepublic static void drawChartPoint(PointF aPoint, ChartBreak aCB, Graphics2D g)
aPoint - Screen pointaCB - Chart breakg - Graphics2Dpublic static void drawBarChartSymbol(PointF aPoint, ChartBreak aCB, Graphics2D g)
aPoint - Start pointaCB - Chart breakg - Graphics2Dpublic static void drawBarChartSymbol(PointF aPoint, ChartBreak aCB, Graphics2D g, boolean drawValue)
aPoint - Start pointaCB - Chart breakg - Graphics2DdrawValue - If draw valuepublic static void drawBarChartSymbol(PointF sPoint, ChartBreak aCB, Graphics2D g, boolean drawValue, Font font)
sPoint - Start pointaCB - Chart breakg - Graphics2DdrawValue - If draw valuefont - Value fontpublic static void drawBar(PointF aPoint, int width, int height, PolygonBreak aPGB, Graphics2D g, boolean isView3D, int thickness)
aPoint - Start pointwidth - Widthheight - Heightg - Graphics2DaPGB - Polygon beakisView3D - Is view as 3Dthickness - 3D thicknesspublic static void drawBar(PointF aPoint, float width, float height, PolygonBreak aPGB, Graphics2D g, boolean isView3D, int thickness)
aPoint - Start pointwidth - Widthheight - Heightg - Graphics2DaPGB - Polygon beakisView3D - Is view as 3Dthickness - 3D thicknesspublic static void drawPieChartSymbol(PointF aPoint, ChartBreak aCB, Graphics2D g, List<String> labels)
aPoint - Start pointaCB - Chart breakg - Graphics2Dlabels - LabelsCopyright © 2019. All rights reserved.