Class SVGClip

    • Field Detail

      • ORIGIN

        public static final java.awt.Shape ORIGIN
        Constant used for some degenerate cases
      • NO_CLIP

        public static final SVGClipDescriptor NO_CLIP
        Descriptor to use where there is no clip on an element
    • Constructor Detail

      • SVGClip

        public SVGClip​(SVGGeneratorContext generatorContext)
        Parameters:
        generatorContext - used to build Elements
    • Method Detail

      • toSVG

        public SVGDescriptor toSVG​(GraphicContext gc)
        Converts part or all of the input GraphicContext into a set of attribute/value pairs and related definitions.
        Parameters:
        gc - GraphicContext to be converted
        Returns:
        descriptor of the attributes required to represent some or all of the GraphicContext state, along with the related definitions
        See Also:
        SVGDescriptor