public class ComponentLabelOp extends NullOp
Modifier and Type | Field and Description |
---|---|
static int |
DRAW_BOUNDS |
static int |
DRAW_CENTROID |
static int |
DRAW_COMPACTNESS |
static int |
DRAW_LABEL |
static int |
DRAW_OVAL |
Constructor and Description |
---|
ComponentLabelOp() |
ComponentLabelOp(int mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
drawBounds() |
void |
drawBounds(java.awt.image.BufferedImage dest,
Components comps) |
boolean |
drawCentroid() |
void |
drawCentroid(java.awt.image.BufferedImage dest,
Components comps) |
boolean |
drawCompactness() |
void |
drawCompactness(java.awt.image.BufferedImage dest,
Components comps) |
void |
drawComponents(java.awt.image.BufferedImage dest,
Components comps) |
boolean |
drawLabel() |
void |
drawLabels(java.awt.image.BufferedImage dest,
Components comps) |
boolean |
drawOval() |
void |
drawOvals(java.awt.image.BufferedImage dest,
Components comps) |
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dest) |
createCompatibleDestImage, getBounds2D, getOpName, getPoint2D, getRenderingHints
public static final int DRAW_CENTROID
public static final int DRAW_OVAL
public static final int DRAW_BOUNDS
public static final int DRAW_LABEL
public static final int DRAW_COMPACTNESS
public ComponentLabelOp(int mode)
public ComponentLabelOp()
public boolean drawCentroid()
public boolean drawOval()
public boolean drawBounds()
public boolean drawLabel()
public boolean drawCompactness()
public void drawCompactness(java.awt.image.BufferedImage dest, Components comps)
public void drawComponents(java.awt.image.BufferedImage dest, Components comps)
public void drawCentroid(java.awt.image.BufferedImage dest, Components comps)
public void drawBounds(java.awt.image.BufferedImage dest, Components comps)
public void drawLabels(java.awt.image.BufferedImage dest, Components comps)
public void drawOvals(java.awt.image.BufferedImage dest, Components comps)