Class SVGLine

    • Field Detail

      • line

        @NotNull
        private final java.awt.geom.Line2D.Float line
    • Constructor Detail

      • SVGLine

        public SVGLine​(@NotNull
                       @NotNull Length x1,
                       @NotNull
                       @NotNull Length y1,
                       @NotNull
                       @NotNull Length x2,
                       @NotNull
                       @NotNull Length y2)
    • 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