public class ContourRenderer extends MBFImageRenderer
MBFImageRenderer for drawing Contours.hints, targetImage| Constructor and Description |
|---|
ContourRenderer(MBFImage targetImage)
Construct with the given target image.
|
| Modifier and Type | Method and Description |
|---|---|
void |
drawContours(Contour root)
Draw the given contour.
|
static MBFImage |
drawContours(MBFImage imgC,
Contour root)
Utility function to quickly draw the contour to the image.
|
defaultBackgroundColour, defaultForegroundColour, drawHorizLine, drawImage, drawImage3, sanitisedrawImage, drawImage, drawLine, drawLine, drawLine, drawPoint, drawPolygondrawConnectedPoints, drawCubicBezier, drawImage, drawLine, drawLine, drawLine, drawLine, drawLine, drawLines, drawPath, drawPaths, drawPoints, drawPolygon, drawPolygonFilled, drawQuadBezier, drawShape, drawShape, drawShapeFilled, drawText, drawText, drawText, drawText, drawText, drawText, drawText, drawText, getImage, getRenderHints, setImage, setRenderHintspublic ContourRenderer(MBFImage targetImage)
targetImage - the target imagepublic static MBFImage drawContours(MBFImage imgC, Contour root)
imgC - the target imageroot - the contourpublic void drawContours(Contour root)
root - the contour.