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 SetPaintCommandlastSetPaintCommand
-
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 DrawImageCommandgetDrawImageCommand(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:
nextin interfacejava.util.Iterator<Command<?>>- Overrides:
nextin classStreamingFilter
-
getDrawImageCommand
private DrawImageCommand getDrawImageCommand(FillShapeCommand shapeCommand, SetPaintCommand paintCommand)
-
filter
protected java.util.List<Command<?>> filter(Command<?> command)
- Specified by:
filterin classStreamingFilter
-
-