public class mxSwimlaneShape extends mxBasicShape
Constructor and Description |
---|
mxSwimlaneShape() |
Modifier and Type | Method and Description |
---|---|
protected mxGraphicsCanvas2D |
configureCanvas(mxGraphics2DCanvas canvas,
mxCellState state,
mxGraphicsCanvas2D c)
Helper method to configure the given wrapper canvas.
|
protected double |
getArcSize(mxCellState state,
double start)
Helper method to configure the given wrapper canvas.
|
protected mxRectangle |
getGradientBounds(mxGraphics2DCanvas canvas,
mxCellState state) |
protected double |
getTitleSize(mxGraphics2DCanvas canvas,
mxCellState state)
Returns the bounding box for the gradient box for this shape.
|
protected void |
paintRoundedSwimlane(mxGraphics2DCanvas canvas,
mxCellState state,
double start,
double r,
String fill,
boolean swimlaneLine)
Function: paintRoundedSwimlane
Paints the swimlane vertex shape.
|
protected void |
paintSeparator(mxGraphics2DCanvas canvas,
mxCellState state,
double start,
String color)
Function: paintSwimlane
Paints the swimlane vertex shape.
|
void |
paintShape(mxGraphics2DCanvas canvas,
mxCellState state) |
protected void |
paintSwimlane(mxGraphics2DCanvas canvas,
mxCellState state,
double start,
String fill,
boolean swimlaneLine) |
configureGraphics, createShape, getFillColor, getStrokeColor, hasGradient, hasShadow
protected double getTitleSize(mxGraphics2DCanvas canvas, mxCellState state)
protected mxRectangle getGradientBounds(mxGraphics2DCanvas canvas, mxCellState state)
getGradientBounds
in class mxBasicShape
public void paintShape(mxGraphics2DCanvas canvas, mxCellState state)
paintShape
in interface mxIShape
paintShape
in class mxBasicShape
protected double getArcSize(mxCellState state, double start)
protected mxGraphicsCanvas2D configureCanvas(mxGraphics2DCanvas canvas, mxCellState state, mxGraphicsCanvas2D c)
protected void paintSwimlane(mxGraphics2DCanvas canvas, mxCellState state, double start, String fill, boolean swimlaneLine)
protected void paintRoundedSwimlane(mxGraphics2DCanvas canvas, mxCellState state, double start, double r, String fill, boolean swimlaneLine)
protected void paintSeparator(mxGraphics2DCanvas canvas, mxCellState state, double start, String color)
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.