Class SVGCircle

    • Field Detail

      • circle

        @NotNull
        private final java.awt.geom.Ellipse2D.Float circle
      • cx

        @NotNull
        private final @NotNull Length cx
      • cy

        @NotNull
        private final @NotNull Length cy
      • r

        @NotNull
        private final @NotNull Length r
    • Constructor Detail

      • SVGCircle

        public SVGCircle​(@NotNull
                         @NotNull Length cx,
                         @NotNull
                         @NotNull Length cy,
                         @NotNull
                         @NotNull Length r)
    • Method Detail

      • validateShape

        private void validateShape​(@NotNull
                                   @NotNull MeasureContext measureContext)
      • shape

        @NotNull
        public @NotNull java.awt.Shape shape​(@NotNull
                                             @NotNull RenderContext context,
                                             boolean validate)
        Specified by:
        shape in interface SVGShape
      • bounds

        @NotNull
        public @NotNull java.awt.geom.Rectangle2D bounds​(@NotNull
                                                         @NotNull RenderContext context,
                                                         boolean validate)
        Specified by:
        bounds in interface SVGShape
      • circumference

        static double circumference​(double radius)