Class FillPaintedShapeAsImageFilter
- java.lang.Object
-
- de.erichseifert.vectorgraphics2d.intermediate.filters.StreamingFilter
-
- de.erichseifert.vectorgraphics2d.intermediate.filters.FillPaintedShapeAsImageFilter
-
- All Implemented Interfaces:
CommandSequence
,Filter
,java.lang.Iterable<Command<?>>
,java.util.Iterator<Command<?>>
public class FillPaintedShapeAsImageFilter extends StreamingFilter
-
-
Field Summary
Fields Modifier and Type Field Description private SetPaintCommand
lastSetPaintCommand
-
Constructor Summary
Constructors Constructor Description FillPaintedShapeAsImageFilter(CommandSequence stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<Command<?>>
filter(Command<?> command)
private DrawImageCommand
getDrawImageCommand(FillShapeCommand shapeCommand, SetPaintCommand paintCommand)
Command<?>
next()
-
Methods inherited from class de.erichseifert.vectorgraphics2d.intermediate.filters.StreamingFilter
hasNext, iterator, remove
-
-
-
-
Field Detail
-
lastSetPaintCommand
private SetPaintCommand lastSetPaintCommand
-
-
Constructor Detail
-
FillPaintedShapeAsImageFilter
public FillPaintedShapeAsImageFilter(CommandSequence stream)
-
-
Method Detail
-
next
public Command<?> next()
- Specified by:
next
in interfacejava.util.Iterator<Command<?>>
- Overrides:
next
in classStreamingFilter
-
getDrawImageCommand
private DrawImageCommand getDrawImageCommand(FillShapeCommand shapeCommand, SetPaintCommand paintCommand)
-
filter
protected java.util.List<Command<?>> filter(Command<?> command)
- Specified by:
filter
in classStreamingFilter
-
-