-
- 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.Rectangle2Dbounds(@NotNull RenderContext context, boolean validate)default booleancanBeFilled()booleanisClosed(@NotNull RenderContext context)doublepathLength(@NotNull RenderContext context)default @NotNull java.awt.Shapeshape(@NotNull RenderContext context)@NotNull java.awt.Shapeshape(@NotNull RenderContext context, boolean validate)default booleanusesOptimizedBoundsCalculation()
-
-
-
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)
-
pathLength
double pathLength(@NotNull @NotNull RenderContext context)
-
usesOptimizedBoundsCalculation
default boolean usesOptimizedBoundsCalculation()
-
isClosed
boolean isClosed(@NotNull @NotNull RenderContext context)
-
-