- java.lang.Object
-
- com.github.weisj.jsvg.attributes.filter.LayoutBounds
-
public final class LayoutBounds extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLayoutBounds.ComputeFlagsstatic classLayoutBounds.Data
-
Field Summary
Fields Modifier and Type Field Description private LayoutBounds.ComputeFlagsadditionalFlagsprivate @NotNull LayoutBounds.Datadataprivate @NotNull java.util.function.BiFunction<@NotNull LayoutBounds.Data,LayoutBounds.ComputeFlags,@NotNull LayoutBounds.Data>transformer
-
Constructor Summary
Constructors Modifier Constructor Description privateLayoutBounds(@NotNull LayoutBounds.Data data, @NotNull java.util.function.BiFunction<@NotNull LayoutBounds.Data,LayoutBounds.ComputeFlags,@NotNull LayoutBounds.Data> transformer, @NotNull LayoutBounds.ComputeFlags flags)LayoutBounds(@NotNull java.awt.geom.Rectangle2D bounds, @NotNull FloatInsets clipBoundsEscapeInsets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull LayoutBoundsgrow(float horizontal, float vertical, @NotNull FilterLayoutContext context)@NotNull LayoutBounds.Dataresolve(@NotNull LayoutBounds.ComputeFlags flags)java.lang.StringtoString()@NotNull LayoutBoundstransform(@NotNull java.util.function.BiFunction<@NotNull LayoutBounds.Data,LayoutBounds.ComputeFlags,@NotNull LayoutBounds.Data> newTransformer)@NotNull LayoutBoundstranslate(float dx, float dy, @NotNull FilterLayoutContext context)@NotNull LayoutBoundsunion(@NotNull LayoutBounds other)@NotNull LayoutBoundswithFlags(@NotNull LayoutBounds.ComputeFlags flags)
-
-
-
Field Detail
-
data
@NotNull private final @NotNull LayoutBounds.Data data
-
transformer
@NotNull private final @NotNull java.util.function.BiFunction<@NotNull LayoutBounds.Data,LayoutBounds.ComputeFlags,@NotNull LayoutBounds.Data> transformer
-
additionalFlags
private final LayoutBounds.ComputeFlags additionalFlags
-
-
Constructor Detail
-
LayoutBounds
public LayoutBounds(@NotNull @NotNull java.awt.geom.Rectangle2D bounds, @NotNull @NotNull FloatInsets clipBoundsEscapeInsets)
-
LayoutBounds
private LayoutBounds(@NotNull @NotNull LayoutBounds.Data data, @NotNull @NotNull java.util.function.BiFunction<@NotNull LayoutBounds.Data,LayoutBounds.ComputeFlags,@NotNull LayoutBounds.Data> transformer, @NotNull @NotNull LayoutBounds.ComputeFlags flags)
-
-
Method Detail
-
transform
@NotNull public @NotNull LayoutBounds transform(@NotNull @NotNull java.util.function.BiFunction<@NotNull LayoutBounds.Data,LayoutBounds.ComputeFlags,@NotNull LayoutBounds.Data> newTransformer)
-
withFlags
@NotNull public @NotNull LayoutBounds withFlags(@NotNull @NotNull LayoutBounds.ComputeFlags flags)
-
resolve
@NotNull public @NotNull LayoutBounds.Data resolve(@NotNull @NotNull LayoutBounds.ComputeFlags flags)
-
union
@NotNull public @NotNull LayoutBounds union(@NotNull @NotNull LayoutBounds other)
-
grow
@NotNull public @NotNull LayoutBounds grow(float horizontal, float vertical, @NotNull @NotNull FilterLayoutContext context)
-
translate
@NotNull public @NotNull LayoutBounds translate(float dx, float dy, @NotNull @NotNull FilterLayoutContext context)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-