public class CustomImageMarker extends Marker implements VanChartMarkerInterface
background, GAP_SIZE, plotBackground, SCATTER_PLOT_BACKROUNG, size, XML_TAG
构造器和说明 |
---|
CustomImageMarker(double width,
double height) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMarkerType()
用于js的初始化, 返回JSON类型
|
void |
paint(java.awt.Graphics2D g2d,
double centerX,
double centerY,
boolean drawBorder) |
void |
paintMarker(java.awt.Graphics2D g2d,
double x,
double y)
画出标记
|
clone, createMarker, equals, getBackground, getSize, isNullMarker, paint, paintPlotBackground, readXML, setBackground, setPlotBackground, setSize, toJSONObject, writeXML
public void paintMarker(java.awt.Graphics2D g2d, double x, double y)
paintMarker
在类中 Marker
g2d
- 用于绘制的上下文x
- x坐标y
- y坐标public void paint(java.awt.Graphics2D g2d, double centerX, double centerY, boolean drawBorder)
paint
在接口中 VanChartMarkerInterface
public java.lang.String getMarkerType()
getMarkerType
在类中 Marker