Class FilterLayoutContext
- java.lang.Object
-
- com.github.weisj.jsvg.nodes.filter.FilterLayoutContext
-
public final class FilterLayoutContext extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private @NotNull java.awt.geom.Rectangle2D
clipBounds
private @NotNull java.awt.geom.Rectangle2D
elementBounds
private @NotNull UnitType
primitiveUnits
private @NotNull ChannelStorage<LayoutBounds>
resultChannels
-
Constructor Summary
Constructors Constructor Description FilterLayoutContext(@NotNull UnitType primitiveUnits, @NotNull java.awt.geom.Rectangle2D elementBounds, @NotNull java.awt.geom.Rectangle2D clipBounds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.awt.geom.Rectangle2D
clipBounds()
@NotNull java.awt.geom.Rectangle2D
elementBounds()
@NotNull java.awt.geom.Rectangle2D
filterPrimitiveRegion(@NotNull MeasureContext context, @NotNull FilterPrimitive filterPrimitive)
@NotNull UnitType
primitiveUnits()
@NotNull ChannelStorage<LayoutBounds>
resultChannels()
-
-
-
Field Detail
-
resultChannels
@NotNull private final @NotNull ChannelStorage<LayoutBounds> resultChannels
-
primitiveUnits
@NotNull private final @NotNull UnitType primitiveUnits
-
elementBounds
@NotNull private final @NotNull java.awt.geom.Rectangle2D elementBounds
-
clipBounds
@NotNull private final @NotNull java.awt.geom.Rectangle2D clipBounds
-
-
Constructor Detail
-
FilterLayoutContext
public FilterLayoutContext(@NotNull @NotNull UnitType primitiveUnits, @NotNull @NotNull java.awt.geom.Rectangle2D elementBounds, @NotNull @NotNull java.awt.geom.Rectangle2D clipBounds)
-
-
Method Detail
-
primitiveUnits
@NotNull public @NotNull UnitType primitiveUnits()
-
elementBounds
@NotNull public @NotNull java.awt.geom.Rectangle2D elementBounds()
-
filterPrimitiveRegion
@NotNull public @NotNull java.awt.geom.Rectangle2D filterPrimitiveRegion(@NotNull @NotNull MeasureContext context, @NotNull @NotNull FilterPrimitive filterPrimitive)
-
resultChannels
@NotNull public @NotNull ChannelStorage<LayoutBounds> resultChannels()
-
clipBounds
@NotNull public @NotNull java.awt.geom.Rectangle2D clipBounds()
-
-