Package com.github.weisj.jsvg.geometry
Class SVGRoundRectangle
java.lang.Object
com.github.weisj.jsvg.geometry.SVGRoundRectangle
- All Implemented Interfaces:
SVGShape
-
Constructor Summary
ConstructorsConstructorDescriptionSVGRoundRectangle(@NotNull LengthValue x, @NotNull LengthValue y, @NotNull LengthValue w, @NotNull LengthValue h, @NotNull LengthValue rx, @NotNull LengthValue ry) -
Method Summary
Modifier and TypeMethodDescription@NotNull Rectangle2Dbounds(@NotNull RenderContext context, boolean validate) booleanisClosed(@NotNull RenderContext context) doublepathLength(@NotNull RenderContext context) @NotNull Shapeshape(@NotNull RenderContext context, boolean validate) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.weisj.jsvg.geometry.SVGShape
canBeFilled, shape, usesOptimizedBoundsCalculation
-
Constructor Details
-
SVGRoundRectangle
public SVGRoundRectangle(@NotNull @NotNull LengthValue x, @NotNull @NotNull LengthValue y, @NotNull @NotNull LengthValue w, @NotNull @NotNull LengthValue h, @NotNull @NotNull LengthValue rx, @NotNull @NotNull LengthValue ry)
-
-
Method Details
-
shape
-
bounds
@NotNull public @NotNull Rectangle2D bounds(@NotNull @NotNull RenderContext context, boolean validate) -
pathLength
- Specified by:
pathLengthin interfaceSVGShape
-
isClosed
-