Class SVGRoundRectangle

    • Field Detail

      • rect

        @NotNull
        private final java.awt.geom.RoundRectangle2D.Float rect
      • x

        @NotNull
        private final @NotNull Length x
      • y

        @NotNull
        private final @NotNull Length y
      • w

        @NotNull
        private final @NotNull Length w
      • h

        @NotNull
        private final @NotNull Length h
      • rx

        @NotNull
        private final @NotNull Length rx
      • ry

        @NotNull
        private final @NotNull Length ry
    • Constructor Detail

      • SVGRoundRectangle

        public SVGRoundRectangle​(@NotNull
                                 @NotNull Length x,
                                 @NotNull
                                 @NotNull Length y,
                                 @NotNull
                                 @NotNull Length w,
                                 @NotNull
                                 @NotNull Length h,
                                 @NotNull
                                 @NotNull Length rx,
                                 @NotNull
                                 @NotNull Length ry)
    • 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