Package com.github.weisj.jsvg.geometry
Interface SVGShape
-
- All Known Subinterfaces:
MeasurableShape
- All Known Implementing Classes:
AWTSVGShape
,FillRuleAwareAWTSVGShape
,SVGCircle
,SVGEllipse
,SVGLine
,SVGRectangle
,SVGRoundRectangle
public interface SVGShape
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull java.awt.geom.Rectangle2D
bounds(@NotNull RenderContext context, boolean validate)
default boolean
canBeFilled()
default @NotNull java.awt.Shape
shape(@NotNull RenderContext context)
@NotNull java.awt.Shape
shape(@NotNull RenderContext context, boolean validate)
default boolean
usesOptimizedBoundsCalculation()
-
-
-
Method Detail
-
canBeFilled
default boolean canBeFilled()
-
shape
@NotNull default @NotNull java.awt.Shape shape(@NotNull @NotNull RenderContext context)
-
shape
@NotNull @NotNull java.awt.Shape shape(@NotNull @NotNull RenderContext context, boolean validate)
-
bounds
@NotNull @NotNull java.awt.geom.Rectangle2D bounds(@NotNull @NotNull RenderContext context, boolean validate)
-
usesOptimizedBoundsCalculation
default boolean usesOptimizedBoundsCalculation()
-
-