Class AbstractDrawer<I,T>
- java.lang.Object
-
- science.aist.imaging.core.imageprocessing.draw.AbstractDrawer<I,T>
-
- All Implemented Interfaces:
BiConsumer<ImageWrapper<I>,T>
- Direct Known Subclasses:
AbstractDrawCircle
,DrawLine
,DrawPolygon
,DrawPolygonFilled
public abstract class AbstractDrawer<I,T> extends Object implements BiConsumer<ImageWrapper<I>,T>
Abstract class for drawing on a given image
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Constructor Summary
Constructors Constructor Description AbstractDrawer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addOffsetPoints(Set<JavaPoint2D> points, int thickness)
protected void
drawPoints(ImageWrapper<I> iImageWrapper, Collection<JavaPoint2D> points)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
accept, andThen
-
-
-
-
Method Detail
-
addOffsetPoints
protected void addOffsetPoints(Set<JavaPoint2D> points, int thickness)
-
drawPoints
protected void drawPoints(ImageWrapper<I> iImageWrapper, Collection<JavaPoint2D> points)
-
-