public class mxScaledLabelShape
extends com.mxgraph.shape.mxRectangleShape
We re-used the JGraphX classes as far as we could. It turned out we only need to recalculate the image bounds to have them scaling with the cell size.
| Modifier and Type | Field and Description |
|---|---|
static String |
SHAPE_NAME |
| Constructor and Description |
|---|
mxScaledLabelShape() |
| Modifier and Type | Method and Description |
|---|---|
void |
paintShape(com.mxgraph.canvas.mxGraphics2DCanvas canvas,
com.mxgraph.view.mxCellState state) |
public static final String SHAPE_NAME
Copyright © 2015–2021 Fiji. All rights reserved.