public class TrackSchemeSvgCanvas
extends com.mxgraph.canvas.mxSvgCanvas
| Constructor and Description |
|---|
TrackSchemeSvgCanvas(Document document) |
| Modifier and Type | Method and Description |
|---|---|
Element |
drawShape(int x,
int y,
int w,
int h,
Map<String,Object> style) |
int |
getArcSize(int w,
int h)
Computes the arc size for the given dimension.
|
com.mxgraph.util.mxRectangle |
getImageBounds(int x,
int y,
int width,
int height) |
appendSvgElement, createDataUrl, createGradientElement, createImageElement, drawCell, drawLabel, drawLine, drawMarker, drawText, getDefsElement, getDocument, getEmbeddedImageElement, getGlassGradientElement, getGradientElement, getGradientId, getResource, isEmbedded, isImageResource, setDocument, setEmbeddedpublic TrackSchemeSvgCanvas(Document document)
public Element drawShape(int x, int y, int w, int h, Map<String,Object> style)
drawShape in class com.mxgraph.canvas.mxSvgCanvaspublic com.mxgraph.util.mxRectangle getImageBounds(int x,
int y,
int width,
int height)
public int getArcSize(int w,
int h)
w - Width of the rectangle.h - Height of the rectangle.Copyright © 2015–2021 Fiji. All rights reserved.