public class TrackSchemeSvgCanvas extends com.mxgraph.canvas.mxSvgCanvas
defs, document, embeddedDEFAULT_IMAGEBASEPATH, drawLabels, imageBasePath, imageCache, PRESERVE_IMAGE_ASPECT, scale, translate| 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, setEmbeddedflushImageCache, getImageBasePath, getImageForStyle, getScale, getTranslate, isDrawLabels, loadImage, setDrawLabels, setImageBasePath, setScale, setTranslatepublic 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 © 2010–2024 TrackMate. All rights reserved.