public class mxRectangleShape extends mxBasicShape
Constructor and Description |
---|
mxRectangleShape() |
Modifier and Type | Method and Description |
---|---|
int |
getArcSize(int w,
int h)
Computes the arc size for the given dimension.
|
void |
paintShape(mxGraphics2DCanvas canvas,
mxCellState state) |
configureGraphics, createShape, getFillColor, getGradientBounds, getStrokeColor, hasGradient, hasShadow
public void paintShape(mxGraphics2DCanvas canvas, mxCellState state)
paintShape
in interface mxIShape
paintShape
in class mxBasicShape
public int getArcSize(int w, int h)
w
- Width of the rectangle.h
- Height of the rectangle.Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.