java.lang.Object
org.tquadrat.foundation.svg.SVGUtils
@UtilityClass
@ClassVersion(sourceVersion="$Id: SVGUtils.java 1086 2024-01-05 23:18:33Z tquadrat $")
public final class SVGUtils
extends Object
A collection of SVG related utility methods and factory methods for SVG
elements.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: SVGUtils.java 1086 2024-01-05 23:18:33Z tquadrat $
- Since:
- 0.0.5
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.svg.SVGUtils"
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe default namespace prefix for SVG: "svg".static final StringThe name for the SVG presentation attributealignment-baseline: "alignment-baseline".static final StringThe name for the SVG presentation attributebaseline-shift: "baseline-shift".static final StringThe name for the SVG base profile attribute: "baseProfile".static final StringThe name for the attribute for the CSS class of an SVG element: "class".static final StringThe name for the SVG presentation attributeclip: "clip".static final StringThe name for the SVG presentation attributeclip-path: "clip-path".static final StringThe name for the SVG<clipPath>element attributeclipPathUnitsthat defines the coordinate system used by the element: "clipPathUnits".static final StringThe name for the SVG presentation attributeclip-rule: "clip-rule".static final StringThe name for the SVG presentation attributecolor: "color".static final StringThe name for the SVG presentation attributecolor-interpolation: "color-interpolation".static final StringThe name for the SVG presentation attributecolor-interpolation-filters: "color-interpolation-filters".static final StringThe name for the SVG presentation attributecolor-profile: "color-profile".static final StringThe name for the SVG presentation attributecolor-rendering: "color-rendering".static final StringThe name for the default script language attribute: "contentScriptType".static final StringThe name for the SVG presentation attributecursor: "cursor".static final StringThe name for the SVG presentation attributedirection: "direction".static final StringThe name for the SVG presentation attributedisplay: "display".static final StringThe name for the SVG presentation attributedominant-baseline: "dominant-baseline".static final StringThe name for the SVGdxattribute: "dx".static final StringThe name for the SVGdyattribute: "dy".static final StringThe name for the SVG presentation attributeenable-background: "enable-background".static final StringThe name for the SVG attributeexternalResourcesRequired: "externalResourcesRequired".static final StringThe name for the SVG presentation attributefill: "fill".static final StringThe name for the SVG presentation attributefill-opacity: "fill-opacity".static final StringThe name for the SVG presentation attributefill-rule: "fill-rule".static final StringThe name for the SVG presentation attributefilter: "filter".static final StringThe name for the SVG presentation attributeflood-color: "flood-color".static final StringThe name for the SVG presentation attributeflood-opacity: "flood-opacity".static final StringThe name for the SVG presentation attributefont-family: "font-family".static final StringThe name for the SVG presentation attributefont-size: "font-size".static final StringThe name for the SVG presentation attributefont-size-adjust: "font-size-adjust".static final StringThe name for the SVG presentation attributefont-stretch: "font-stretch".static final StringThe name for the SVG presentation attributefont-style: "font-style".static final StringThe name for the SVG presentation attributefont-variant: "font-variant".static final StringThe name for the SVG presentation attributefont-weight: "font-weight".static final StringThe name for the SVG presentation attributeglyph-orientation-horizontal: "glyph-orientation-horizontal".static final StringThe name for the SVG presentation attributeglyph-orientation-vertical: "glyph-orientation-vertical".static final StringThe name for the SVGheightattribute: "height".static final StringThe name for the SVGidattribute: "id".static final StringThe name for the SVG presentation attributeimage-rendering: "image-rendering".static final StringThe name for the SVG presentation attributekerning: "kerning".static final StringThe name for the SVGlangattribute: "lang".static final StringThe name for the SVGlengthAdjustattribute: "lengthAdjust".static final StringThe name for the SVG presentation attributeletter-spacing: "letter-spacing".static final StringThe name for the SVG presentation attributelighting-color: "lighting-color".static final StringThe name for the SVG presentation attributemarker-end: "marker-end".static final StringThe name for the SVG marker attributemarkerHeight: "markerHeight".static final StringThe name for the SVG presentation attributemarker-mid: "marker-mid".static final StringThe name for the SVG presentation attributemarker-start: "marker-start".static final StringThe name for the SVG marker attributemarkerUnits: "markerUnits".static final StringThe name for the SVG marker attributemarkerWidth: "markerWidth".static final StringThe name for the SVG presentation attributemask: "mask".static final StringThe name for the SVG event attributeonabort: "onabort".static final StringThe name for the SVG event attributeonactivate: "onactivate".static final StringThe name for the SVG event attributeoncancel: "oncancel".static final StringThe name for the SVG event attributeoncanplay: "oncanplay".static final StringThe name for the SVG event attributeoncanplaythrough: "oncanplaythrough".static final StringThe name for the SVG event attributeonchange: "onchange".static final StringThe name for the SVG event attributeonclick: "onclick".static final StringThe name for the SVG event attributeonclose: "onclose".static final StringThe name for the SVG document element event attributeoncopy: "oncopy".static final StringThe name for the SVG event attributeoncuechange: "oncuechange".static final StringThe name for the SVG document element event attributeoncut: "oncut".static final StringThe name for the SVG event attributeondblclick: "ondblclick".static final StringThe name for the SVG event attributeondrag: "ondrag".static final StringThe name for the SVG event attributeondragend: "ondragend".static final StringThe name for the SVG event attributeondragenter: "ondragenter".static final StringThe name for the SVG event attributeondragexit: "ondragexit".static final StringThe name for the SVG event attributeondragleave: "ondragleave".static final StringThe name for the SVG event attributeondragover: "ondragover".static final StringThe name for the SVG event attributeondragstart: "ondragstart".static final StringThe name for the SVG event attributeondrop: "ondrop".static final StringThe name for the SVG event attributeondurationchange: "ondurationchange".static final StringThe name for the SVG event attributeonemptied: "onemptied".static final StringThe name for the SVG event attributeonended: "onended".static final StringThe name for the SVG event attributeonerror: "onerror".static final StringThe name for the SVG event attributeonfocus: "onfocus".static final StringThe name for the SVG event attributeonfocusin: "onfocusin".static final StringThe name for the SVG event attributeonfocusout: "onfocusout".static final StringThe name for the SVG event attributeoninput: "oninput".static final StringThe name for the SVG event attributeoninvalid: "oninvalid".static final StringThe name for the SVG event attributeonkeydown: "onkeydown".static final StringThe name for the SVG event attributeonkeypress: "onkeypress".static final StringThe name for the SVG event attributeonkeyup: "onkeyup".static final StringThe name for the SVG event attributeonload: "onload".static final StringThe name for the SVG event attributeonloadeddata: "onloadeddata".static final StringThe name for the SVG event attributeonloadedmetadata: "onloadedmetadata".static final StringThe name for the SVG event attributeonloadstart: "onloadstart".static final StringThe name for the SVG event attributeonmousedown: "onmousedown".static final StringThe name for the SVG event attributeonmouseenter: "onmouseenter".static final StringThe name for the SVG event attributeonmouseleave: "onmouseleave".static final StringThe name for the SVG event attributeonmousemove: "onmousemove".static final StringThe name for the SVG event attributeonmouseout: "onmouseout".static final StringThe name for the SVG event attributeonmouseover: "onmouseover".static final StringThe name for the SVG event attributeonmouseup: "onmouseup".static final StringThe name for the SVG event attributeonmousewheel: "onmousewheel".static final StringThe name for the SVG document element event attributeonpaste: "onpaste".static final StringThe name for the SVG event attributeonpause: "onpause".static final StringThe name for the SVG event attributeonplay: "onplay".static final StringThe name for the SVG event attributeonplaying: "onplaying".static final StringThe name for the SVG event attributeonprogress: "onprogress".static final StringThe name for the SVG event attributeonratechange: "onratechange".static final StringThe name for the SVG event attributeonreset: "onreset".static final StringThe name for the SVG event attributeonresize: "onresize".static final StringThe name for the SVG event attributeonscroll: "onscroll".static final StringThe name for the SVG event attributeonseeked: "onseeked".static final StringThe name for the SVG event attributeonseeking: "onseeking".static final StringThe name for the SVG event attributeonselect: "onselect".static final StringThe name for the SVG event attributeonshow: "onshow".static final StringThe name for the SVG event attributeonstalled: "onstalled".static final StringThe name for the SVG event attributeonsubmit: "onsubmit".static final StringThe name for the SVG event attributeonsuspend: "onsuspend".static final StringThe name for the SVG event attributeontimeupdate: "ontimeupdate".static final StringThe name for the SVG event attributeontoggle: "ontoggle".static final StringThe name for the SVG event attributeonunload: "onunload".static final StringThe name for the SVG event attributeonvolumechange: "onvolumechange".static final StringThe name for the SVG event attributeonwaiting: "onwaiting".static final StringThe name for the SVG presentation attributeopacity: "opacity".static final StringThe name for the SVG marker attributeorient: "orient".static final StringThe name for the SVG presentation attributeoverflow: "overflow".static final StringThe name for the SVG attributedthat defines a path: "d".static final StringThe name for the SVG attributepathLength: "pathLength".static final StringThe name for the SVG presentation attributepointer-events: "pointer-events".static final StringThe name for the SVG marker attributeposition: "position".static final StringThe name for the SVGpreserveAspectRatioattribute: "preserveAspectRatio".static final StringThe name for the attribute that is used to set references in SVG: "xlink:href".static final StringThe name for the SVG marker attributerefX: "refX".static final StringThe name for the SVG marker attributerefY: "refY".static final StringThe name for the SVG attribute that defines the extensions that are required to render an element: "requiredExtensions".static final StringThe name for the SVG attribute that defines the features that are required to render an element: "requiredFeatures".static final StringThe name for the SVGrotateattribute: "rotate".static final StringThe name for the SVGrxattribute: "rx".static final StringThe name for the SVGryattribute: "ry".static final StringThe name for the SVG presentation attributeshape-rendering: "shape-rendering".static final StringThe name for the SVG presentation attributestop-color: "stop-color".static final StringThe name for the SVG presentation attributestop-opacity: "stop-opacity".static final StringThe name for the SVG presentation attributestroke: "stroke".static final StringThe name for the SVG presentation attributestroke-dasharray: "stroke-dasharray".static final StringThe name for the SVG presentation attributestroke-dashoffset: "stroke-dashoffset".static final StringThe name for the SVG presentation attributestroke-linecap: "stroke-linecap".static final StringThe name for the SVG presentation attributestroke-linejoin: "stroke-linejoin".static final StringThe name for the SVG presentation attributestroke-miterlimit: "stroke-miterlimit".static final StringThe name for the SVG presentation attributestroke-opacity: "stroke-opacity".static final StringThe name for the SVG presentation attributestroke-width: "stroke-width".static final StringThe name for the SVG CSSstyleattribute: "style".static final StringThe name for the SVG attribute that defines the languages that are supported by an SVG element: "systemLanguage".
It will be rendered only when the current system language matches one entry in the list.static final StringThe name for the SVGtabindexattribute: "tabindex".static final StringThe name for the SVG presentation attributetext-anchor: "text-anchor".static final StringThe name for the SVG presentation attributetext-decoration: "text-decoration".static final StringThe name for the SVGtextLengthattribute: "textLength".static final StringThe name for the SVG presentation attributetext-rendering: "text-rendering".static final StringThe name for the SVG presentation attributetransform: "transform".static final StringThe name for the SVG presentation attributeunicode-bidi: "unicode-bidi".static final StringThe name for the SVG presentation attributevector-effect: "vector-effect".static final StringThe name for the SVGversionattribute: "version".static final StringThe name for the SVGviewBoxattribute: "viewBox".static final StringThe name for the SVG presentation attributevisibility: "visibility".static final StringThe name for the SVGwidthattribute: "width".static final StringThe name for the SVG presentation attributeword-spacing: "word-spacing".static final StringThe name for the SVG presentation attributewriting-mode: "writing-mode".static final StringThe name for the SVGxcoordinate attribute: "x".static final StringThe name for the SVGx1coordinate attribute: "x1".static final StringThe name for the SVGx2coordinate attribute: "x2".static final StringThe name for the XLinkactuateattribute: "xlink:actuate".static final StringThe name for the XLinkarcroleattribute: "xlink:arcrole".static final StringThe name for the XLink attribute that is used to set references in SVG: "xlink:href".static final StringThe name for the XLinkroleattribute: "xlink:role".static final StringThe name for the XLinkshowattribute: "xlink:show".static final StringThe name for the XLinktitleattribute: "xlink:title".static final StringThe name for the XLinktypeattribute: "xlink:type".static final StringThe name for the SVGycoordinate attribute: "y".static final StringThe name for the SVGy1coordinate attribute: "y1".static final StringThe name for the SVGy2coordinate attribute: "y2".static final StringThe name for the SVGzoomAndPanattribute: "zoomAndPan".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG anchor element: "a".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element representing a circle shape: "circle".static final StringThe name for the SVG element that defines a clipping path: "clipPath".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element that holds definitions of elements that will be referenced elsewhere: "defs".static final StringThe name for the SVG element that can be added to any other element to assign a description to it: "desc".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element representing an ellipse shape: "ellipse".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG group element: "g".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element representing a line: "line".static final StringThe name for the SVG<marker>element: "marker".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element representing a polygon shape: "polygon".static final StringThe name for the SVG element representing a poly line: "polyline".static final StringThe name for the SVG element representing a rectangle shape: "rect".static final StringThe name for the SVG root element: "svg".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element<solidcolor>: "solidcolor".
The form<solidColor>had been abandoned before the final specification was published.static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG<symbol>element that allows to create reusable parts of an image: "symbol".static final StringThe name for an SVG element holding text: "text".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element that can be added to any other element to assign a title to it: "title".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG<tspan>element: "tspan".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element that is used to clone other elements: "use".static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the SVG element TODO - Add the proper description!static final StringThe name for the XMLbaseattribute: "xml:base". -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final SVGPathElementarcTo(double rx, double ry, double rotation, boolean largeArc, boolean sweep, double x, double y) Creates an instance of the path elementSVGPathElement.SVGArcTothat uses relative coordinates.static final SVGPathElementarcTo(long rx, long ry, long rotation, boolean largeArc, boolean sweep, long x, long y) Creates an instance of the path elementSVGPathElement.SVGArcTothat uses relative coordinates.static final SVGPathElementarcToAbs(double rx, double ry, double rotation, boolean largeArc, boolean sweep, double x, double y) Creates an instance of the path elementSVGPathElement.SVGArcTothat uses absolute coordinates.static final SVGPathElementarcToAbs(long rx, long ry, long rotation, boolean largeArc, boolean sweep, long x, long y) Creates an instance of the path elementSVGPathElement.SVGArcTothat uses absolute coordinates.static final SVGNumbercentimeter(double value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.CENTIMETER.static final SVGNumbercentimeter(long value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.CENTIMETER.static final SVGElementcloneElement(SVGElement element) Clones the given element.
The clone will be semantically identical to the given element (it looks the same in the final output), but it will not be of the same Java type.static final SVGPathElementCreates an instance of the path elementSVGPathElement.SVGClosePaththat uses relative coordinates.static final SVGColorcolor()Returns theSVGColorinstance with the type "inherit".static final SVGColorcolor(boolean flag, int red, int green, int blue) Creates a newSVGColorinstance from the given colour values.
Allowed are the values from 0 to 255, or 0% to 100% respectively, other values will be normalised accordingly.static final SVGColorcolor(int red, int green, int blue) Creates a newSVGColorinstance from the given colour values.
Allowed are the values from 0 to 255, other values will be normalised accordingly.static final SVGColorCreates a newSVGColorinstance, using the given argument as a CSS colour name.
The given argument may not benullnor the empty String, but it will not undergo any further validation.private static final NamespaceCreates the namespace instance that is used for all Creative Commons stuff.static final SVGClipPathcreateClipPath(String id) Creates an SVG<clipPath>element instance.static final SVGClipPathcreateClipPath(String id, SVG parent) Creates an SVG<clipPath>element instance and adds it to the given<svg>element.static final SVGGenericElementcreateGenericElement(String elementName) Creates a generic SVG element.
This method should be used to create an SVG element that does not have (yet) its specific implementation class.static final SVGGroupCreates an SVG<g>element instance.static final SVGGroupcreateGroup(SVGElementWithChildren parent) Creates an SVG<g>element instance.static final SVGLineCreates an SVG<line>element instance.static final SVGLinecreateLine(SVGElementWithChildren parent) Creates an SVG<line>element instance and adds it to the given parent element.static final SVGLinecreateLine(SVGElementWithChildren parent, SVGNumber x1, SVGNumber y1, SVGNumber x2, SVGNumber y2) Creates an SVG<line>element instance with the given start and end points and adds it to the given parent element.static final SVGLinecreateLine(SVGNumber x1, SVGNumber y1, SVGNumber x2, SVGNumber y2) Creates an SVG<line>element instance with the given start and end points.static final SVGMarkercreateMarker(String id, SVG parent) Creates an SVG<marker>element instance and adds it to the given<svg>element.static final SVGPathCreates an SVG<path>element instance.static final SVGPathcreatePath(SVGElementWithChildren parent) Creates an SVG<Path>element instance and adds it to the given parent element.static final SVGPathcreatePath(SVGElementWithChildren parent, SVGPathElement... pathDefinition) Creates an SVG<path>element instance with the given path definition and adds it to the given parent element.static final SVGPathcreatePath(SVGPathElement... pathDefinition) Creates an SVG<path>element instance with the given path definition.static final SVGPositionedMarkerCreates an SVG<marker>element instance that is used as a positioned marker.static final SVGPositionedMarkercreatePositionedMarker(String id, SVGElementWithChildren parent) Creates an SVG<marker>element instance that is used as a positioned marker and adds it to the given parent.private static final NamespaceCreates the namespace instance that is used for all RDF stuff.static final SVGRectangleCreates an SVG<rect>element instance.static final SVGRectangleCreates an SVG<rect>element instance and adds it to the given parent element.static final SVGRectanglecreateRectangle(SVGElementWithChildren parent, SVGNumber x, SVGNumber y, SVGNumber width, SVGNumber height) Creates an SVG<rect>element instance with the given start and end points and adds it to the given parent element.static final SVGRectanglecreateRectangle(SVGNumber x, SVGNumber y, SVGNumber width, SVGNumber height) Creates an SVG<rect>element instance with the given start and end points.static final SVGStyleCreates an SVG<style>element instance.static final SVGStylecreateStyle(CharSequence... styles) Creates an SVG<style>element instance and adds it to the given<svg>element.static final SVGStylecreateStyle(SVG parent) Creates an SVG<style>element instance and adds it to the given<svg>element.static final SVGStylecreateStyle(SVG parent, CharSequence... styles) Creates an SVG<style>element instance and adds it to the given<svg>element.static final SVGCreates an SVG<svg>element instance.static final SVGcreateSVG(SVGElementWithChildren parent) Creates an SVG<svg>element instance and adds it to the given parent.static final XMLDocumentcreateSVGDocument(SVG rootElement) Creates an XML document instance with the given<svg>element as the root element.private static final NamespacecreateSVGNamespace(String prefix) Creates the namespace instance that is used for all SVG stuff.static final SVGSymbolcreateSymbol(String id) Creates an SVG<symbol>element instance.static final SVGSymbolcreateSymbol(String id, SVG parent) Creates an SVG<symbol>element instance and adds it to the given<svg>element.static final SVGTextCreates an SVG<text>element instance.static final SVGTextcreateText(CharSequence text) Creates an SVG<text>element instance and adds it to the given parent.static final SVGTextcreateText(SVGElementWithChildren parent) Creates an SVG<text>element instance and adds it to the given parent.static final SVGTextcreateText(SVGElementWithChildren parent, CharSequence text) Creates an SVG<text>element instance and adds it to the given parent.static final SVGTSpanCreates an SVG<tspan>element instance.static final SVGTSpancreateTSpan(CharSequence text) Creates an SVG<tspan>element as child of the given<text>.static final SVGTSpancreateTSpan(SVGText parent) Creates an SVG<tspan>element as child of the given<text>.static final SVGTSpancreateTSpan(SVGText parent, CharSequence text) Creates an SVG<tspan>element as child of the given<text>.static final SVGTSpancreateTSpan(SVGTSpan parent) Creates an SVG<tspan>element as child of the given<tspan>.static final SVGTSpancreateTSpan(SVGTSpan parent, CharSequence text) Creates an SVG<tspan>element as child of the given<tspan>.static final SVGUseCreates an SVG<use>element instance.static final SVGUsecreateUse(SVGElementWithChildren parent, URI reference) Creates an SVG<use>element instance and adds it to the given parent.private static final NamespaceCreates the namespace instance that is used for all XLINK stuff.static final SVGPathElementcubicCurveTo(double x2, double y2, double x, double y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses relative coordinates.static final SVGPathElementcubicCurveTo(double x1, double y1, double x2, double y2, double x, double y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses relative coordinates.static final SVGPathElementcubicCurveTo(long x2, long y2, long x, long y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses relative coordinates.static final SVGPathElementcubicCurveTo(long x1, long y1, long x2, long y2, long x, long y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses relative coordinates.static final SVGPathElementcubicCurveToAbs(double x2, double y2, double x, double y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses absolute coordinates.static final SVGPathElementcubicCurveToAbs(double x1, double y1, double x2, double y2, double x, double y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses absolute coordinates.static final SVGPathElementcubicCurveToAbs(long x2, long y2, long x, long y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses absolute coordinates.static final SVGPathElementcubicCurveToAbs(long x1, long y1, long x2, long y2, long x, long y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses absolute coordinates.static final SVGNumber.SVGDegreedegree(double value) Creates an instance ofSVGNumber.SVGDegreewith the given numeric type.static final SVGNumber.SVGDegreedegree(long value) Creates an instance ofSVGNumber.SVGDegreewith the given numeric type.static final SVGNumberem(double value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.EM.static final SVGNumberem(long value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.EM.static final SVGNumberex(double value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.EX.static final SVGNumberex(long value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.EX.static final SVGPathElementhLineTo(double x) Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses relative coordinates.static final SVGPathElementhLineTo(long x) Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses relative coordinates.static final SVGPathElementhLineToAbs(double x) Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses absolute coordinates.static final SVGPathElementhLineToAbs(long x) Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses absolute coordinates.static final SVGNumberinch(double value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.INCH.static final SVGNumberinch(long value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.INCH.static final SVGPathElementlineTo(double x, double y) Creates an instance of the path elementSVGPathElement.SVGLineTothat uses relative coordinates.static final SVGPathElementlineTo(long x, long y) Creates an instance of the path elementSVGPathElement.SVGLineTothat uses relative coordinates.static final SVGPathElementlineToAbs(double x, double y) Creates an instance of the path elementSVGPathElement.SVGLineTothat uses absolute coordinates.static final SVGPathElementlineToAbs(long x, long y) Creates an instance of the path elementSVGPathElement.SVGLineTothat uses absolute coordinates.static final SVGTransform.SVGMatrixmatrix(double a, double b, double c, double d, double e, double f) Creates an instance ofSVGTransform.SVGMatrix.static final SVGTransform.SVGMatrixmatrix(long a, long b, long c, long d, long e, long f) Creates an instance ofSVGTransform.SVGMatrix.static final SVGNumber.SVGMillimetermillimeter(double value) Creates an instance ofSVGNumber.SVGMillimeterwith the given numeric type.static final SVGNumber.SVGMillimetermillimeter(long value) Creates an instance ofSVGNumber.SVGMillimeterwith the given numeric type.static final SVGPathElementmoveTo(double x, double y) Creates an instance of the path elementSVGPathElement.SVGMoveTothat uses relative coordinates.static final SVGPathElementmoveTo(long x, long y) Creates an instance of the path elementSVGPathElement.SVGMoveTothat uses relative coordinates.static final SVGPathElementmoveToAbs(double x, double y) Creates an instance of the path elementSVGPathElement.SVGMoveTothat uses absolute coordinates.static final SVGPathElementmoveToAbs(long x, long y) Creates an instance of the path elementSVGPathElement.SVGMoveTothat uses absolute coordinates.static final SVGNumber.SVGUserUnitValuenumber(double value) Creates an instance ofSVGNumber.SVGUserUnitValuewith the given numeric type.static final SVGNumber.SVGUserUnitValuenumber(long value) Creates an instance ofSVGNumber.SVGUserUnitValuewith the given numeric type.numberList(SVGNumber... values) static final SVGNumber[]Creates an array ofSVGNumberinstances.static final SVGNumber.SVGPercentpercent(double value) Creates an instance ofSVGNumber.SVGPercentwith the given numeric type.static final SVGNumber.SVGPercentpercent(long value) Creates an instance ofSVGNumber.SVGPercentwith the given numeric type.static final SVGNumberpica(double value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.PICA.static final SVGNumberpica(long value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.PICA.static final SVGNumber.SVGPixelpixel(double value) Creates an instance ofSVGNumber.SVGPixelwith the given numeric type.static final SVGNumber.SVGPixelpixel(long value) Creates an instance ofSVGNumber.SVGPixelwith the given numeric type.static final SVGNumberpoint(double value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.POINT.static final SVGNumberpoint(long value) Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.POINT.static final SVGPathElementquadraticCurveTo(double x, double y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses relative coordinates.static final SVGPathElementquadraticCurveTo(double x1, double y1, double x, double y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses relative coordinates.static final SVGPathElementquadraticCurveTo(long x, long y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses relative coordinates.static final SVGPathElementquadraticCurveTo(long x1, long y1, long x, long y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses relative coordinates.static final SVGPathElementquadraticCurveToAbs(double x, double y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses absolute coordinates.static final SVGPathElementquadraticCurveToAbs(double x1, double y1, double x, double y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses absolute coordinates.static final SVGPathElementquadraticCurveToAbs(long x, long y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses absolute coordinates.static final SVGPathElementquadraticCurveToAbs(long x1, long y1, long x, long y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses absolute coordinates.static final SVGTransform.SVGRotaterotate(double a) Creates an instance ofSVGTransform.SVGRotate.static final SVGTransform.SVGRotaterotate(double a, double x, double y) Creates an instance ofSVGTransform.SVGRotate.static final SVGTransform.SVGRotaterotate(long a) Creates an instance ofSVGTransform.SVGRotate.static final SVGTransform.SVGRotaterotate(long a, long x, long y) Creates an instance ofSVGTransform.SVGRotate.static final SVGTransform.SVGScalescale(double x) Creates an instance ofSVGTransform.SVGScale.static final SVGTransform.SVGScalescale(double x, double y) Creates an instance ofSVGTransform.SVGScale.static final SVGTransform.SVGScalescale(long x) Creates an instance ofSVGTransform.SVGScale.static final SVGTransform.SVGScalescale(long x, long y) Creates an instance ofSVGTransform.SVGScale.static final SVGTransform.SVGSkewXskewX(double a) Creates an instance ofSVGTransform.SVGSkewX.static final SVGTransform.SVGSkewXskewX(long a) Creates an instance ofSVGTransform.SVGSkewX.static final SVGTransform.SVGSkewYskewY(double a) Creates an instance ofSVGTransform.SVGSkewY.static final SVGTransform.SVGSkewYskewY(long a) Creates an instance ofSVGTransform.SVGSkewY.static final SVGTransform.SVGTranslatetranslate(double x) Creates an instance ofSVGTransform.SVGTranslate.static final SVGTransform.SVGTranslatetranslate(double x, double y) Creates an instance ofSVGTransform.SVGTranslate.static final SVGTransform.SVGTranslatetranslate(long x) Creates an instance ofSVGTransform.SVGTranslate.static final SVGTransform.SVGTranslatetranslate(long x, long y) Creates an instance ofSVGTransform.SVGTranslate.static final SVGPathElementvLineTo(double y) Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses relative coordinates.static final SVGPathElementvLineTo(long y) Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses relative coordinates.static final SVGPathElementvLineToAbs(double y) Creates an instance of the path elementSVGPathElement.SVGVLineTothat uses absolute coordinates.static final SVGPathElementvLineToAbs(long y) Creates an instance of the path elementSVGPathElement.SVGVLineTothat uses absolute coordinates.
-
Field Details
-
SVG_PREFIX
The default namespace prefix for SVG: "svg".- See Also:
-
SVGATTRIBUTE_AlignmentBaseline
The name for the SVG presentation attributealignment-baseline: "alignment-baseline".- See Also:
-
SVGATTRIBUTE_BaselineShift
The name for the SVG presentation attributebaseline-shift: "baseline-shift".- See Also:
-
SVGATTRIBUTE_BaseProfile
The name for the SVG base profile attribute: "baseProfile".- See Also:
-
SVGATTRIBUTE_Class
The name for the attribute for the CSS class of an SVG element: "class".- See Also:
-
SVGATTRIBUTE_Clip
The name for the SVG presentation attributeclip: "clip".- See Also:
-
SVGATTRIBUTE_ClipPath
The name for the SVG presentation attributeclip-path: "clip-path".- See Also:
-
SVGATTRIBUTE_ClipRule
The name for the SVG presentation attributeclip-rule: "clip-rule".- See Also:
-
SVGATTRIBUTE_ClipPathUnits
The name for the SVG<clipPath>element attributeclipPathUnitsthat defines the coordinate system used by the element: "clipPathUnits".- See Also:
-
SVGATTRIBUTE_Color
The name for the SVG presentation attributecolor: "color".- See Also:
-
SVGATTRIBUTE_ColorInterpolation
The name for the SVG presentation attributecolor-interpolation: "color-interpolation".- See Also:
-
SVGATTRIBUTE_ColorInterpolationFilters
@API(status=STABLE, since="0.0.5") public static final String SVGATTRIBUTE_ColorInterpolationFiltersThe name for the SVG presentation attributecolor-interpolation-filters: "color-interpolation-filters".- See Also:
-
SVGATTRIBUTE_ColorProfile
The name for the SVG presentation attributecolor-profile: "color-profile".- See Also:
-
SVGATTRIBUTE_ColorRendering
The name for the SVG presentation attributecolor-rendering: "color-rendering".- See Also:
-
SVGATTRIBUTE_ContentScriptType
The name for the default script language attribute: "contentScriptType".- See Also:
-
SVGATTRIBUTE_Cursor
The name for the SVG presentation attributecursor: "cursor".- See Also:
-
SVGATTRIBUTE_Direction
The name for the SVG presentation attributedirection: "direction".- See Also:
-
SVGATTRIBUTE_Display
The name for the SVG presentation attributedisplay: "display".- See Also:
-
SVGATTRIBUTE_DominantBaseline
The name for the SVG presentation attributedominant-baseline: "dominant-baseline".- See Also:
-
SVGATTRIBUTE_dx
The name for the SVGdxattribute: "dx".- See Also:
-
SVGATTRIBUTE_dy
The name for the SVGdyattribute: "dy".- See Also:
-
SVGATTRIBUTE_EnableBackground
The name for the SVG presentation attributeenable-background: "enable-background".- See Also:
-
SVGATTRIBUTE_ExternalResourcesRequired
@API(status=STABLE, since="0.0.5") public static final String SVGATTRIBUTE_ExternalResourcesRequiredThe name for the SVG attributeexternalResourcesRequired: "externalResourcesRequired".- See Also:
-
SVGATTRIBUTE_Fill
The name for the SVG presentation attributefill: "fill".- See Also:
-
SVGATTRIBUTE_FillOpacity
The name for the SVG presentation attributefill-opacity: "fill-opacity".- See Also:
-
SVGATTRIBUTE_FillRule
The name for the SVG presentation attributefill-rule: "fill-rule".- See Also:
-
SVGATTRIBUTE_Filter
The name for the SVG presentation attributefilter: "filter".- See Also:
-
SVGATTRIBUTE_FloodColor
The name for the SVG presentation attributeflood-color: "flood-color".- See Also:
-
SVGATTRIBUTE_FloodOpacity
The name for the SVG presentation attributeflood-opacity: "flood-opacity".- See Also:
-
SVGATTRIBUTE_FontFamily
The name for the SVG presentation attributefont-family: "font-family".- See Also:
-
SVGATTRIBUTE_FontSize
The name for the SVG presentation attributefont-size: "font-size".- See Also:
-
SVGATTRIBUTE_FontSizeAdjust
The name for the SVG presentation attributefont-size-adjust: "font-size-adjust".- See Also:
-
SVGATTRIBUTE_FontStretch
The name for the SVG presentation attributefont-stretch: "font-stretch".- See Also:
-
SVGATTRIBUTE_FontStyle
The name for the SVG presentation attributefont-style: "font-style".- See Also:
-
SVGATTRIBUTE_FontVariant
The name for the SVG presentation attributefont-variant: "font-variant".- See Also:
-
SVGATTRIBUTE_FontWeight
The name for the SVG presentation attributefont-weight: "font-weight".- See Also:
-
SVGATTRIBUTE_GlyphOrientationHorizontal
@API(status=STABLE, since="0.0.5") public static final String SVGATTRIBUTE_GlyphOrientationHorizontalThe name for the SVG presentation attributeglyph-orientation-horizontal: "glyph-orientation-horizontal".- See Also:
-
SVGATTRIBUTE_GlyphOrientationVertical
The name for the SVG presentation attributeglyph-orientation-vertical: "glyph-orientation-vertical".- See Also:
-
SVGATTRIBUTE_Height
The name for the SVGheightattribute: "height".- See Also:
-
SVGATTRIBUTE_Id
The name for the SVGidattribute: "id".- See Also:
-
SVGATTRIBUTE_ImageRendering
The name for the SVG presentation attributeimage-rendering: "image-rendering".- See Also:
-
SVGATTRIBUTE_Kerning
The name for the SVG presentation attributekerning: "kerning".- See Also:
-
SVGATTRIBUTE_Lang
The name for the SVGlangattribute: "lang".- See Also:
-
SVGATTRIBUTE_LengthAdjust
The name for the SVGlengthAdjustattribute: "lengthAdjust".- See Also:
-
SVGATTRIBUTE_LetterSpacing
The name for the SVG presentation attributeletter-spacing: "letter-spacing".- See Also:
-
SVGATTRIBUTE_LightingColor
The name for the SVG presentation attributelighting-color: "lighting-color".- See Also:
-
SVGATTRIBUTE_MarkerEnd
The name for the SVG presentation attributemarker-end: "marker-end".- See Also:
-
SVGATTRIBUTE_MarkerHeight
The name for the SVG marker attributemarkerHeight: "markerHeight".- See Also:
-
SVGATTRIBUTE_MarkerMid
The name for the SVG presentation attributemarker-mid: "marker-mid".- See Also:
-
SVGATTRIBUTE_MarkerStart
The name for the SVG presentation attributemarker-start: "marker-start".- See Also:
-
SVGATTRIBUTE_MarkerUnits
The name for the SVG marker attributemarkerUnits: "markerUnits".- See Also:
-
SVGATTRIBUTE_MarkerWidth
The name for the SVG marker attributemarkerWidth: "markerWidth".- See Also:
-
SVGATTRIBUTE_Mask
The name for the SVG presentation attributemask: "mask".- See Also:
-
SVGATTRIBUTE_OnAbort
The name for the SVG event attributeonabort: "onabort".- See Also:
-
SVGATTRIBUTE_OnActivate
The name for the SVG event attributeonactivate: "onactivate".- See Also:
-
SVGATTRIBUTE_OnCancel
The name for the SVG event attributeoncancel: "oncancel".- See Also:
-
SVGATTRIBUTE_OnCanPlay
The name for the SVG event attributeoncanplay: "oncanplay".- See Also:
-
SVGATTRIBUTE_OnCanPlayThrough
The name for the SVG event attributeoncanplaythrough: "oncanplaythrough".- See Also:
-
SVGATTRIBUTE_OnChange
The name for the SVG event attributeonchange: "onchange".- See Also:
-
SVGATTRIBUTE_OnClick
The name for the SVG event attributeonclick: "onclick".- See Also:
-
SVGATTRIBUTE_OnClose
The name for the SVG event attributeonclose: "onclose".- See Also:
-
SVGATTRIBUTE_OnCopy
The name for the SVG document element event attributeoncopy: "oncopy".- See Also:
-
SVGATTRIBUTE_OnCueChange
The name for the SVG event attributeoncuechange: "oncuechange".- See Also:
-
SVGATTRIBUTE_OnCut
The name for the SVG document element event attributeoncut: "oncut".- See Also:
-
SVGATTRIBUTE_OnDblClick
The name for the SVG event attributeondblclick: "ondblclick".- See Also:
-
SVGATTRIBUTE_OnDrag
The name for the SVG event attributeondrag: "ondrag".- See Also:
-
SVGATTRIBUTE_OnDragEnd
The name for the SVG event attributeondragend: "ondragend".- See Also:
-
SVGATTRIBUTE_OnDragEnter
The name for the SVG event attributeondragenter: "ondragenter".- See Also:
-
SVGATTRIBUTE_OnDragExit
The name for the SVG event attributeondragexit: "ondragexit".- See Also:
-
SVGATTRIBUTE_OnDragLeave
The name for the SVG event attributeondragleave: "ondragleave".- See Also:
-
SVGATTRIBUTE_OnDragOver
The name for the SVG event attributeondragover: "ondragover".- See Also:
-
SVGATTRIBUTE_OnDragStart
The name for the SVG event attributeondragstart: "ondragstart".- See Also:
-
SVGATTRIBUTE_OnDrop
The name for the SVG event attributeondrop: "ondrop".- See Also:
-
SVGATTRIBUTE_OnDurationChange
The name for the SVG event attributeondurationchange: "ondurationchange".- See Also:
-
SVGATTRIBUTE_OnEmptied
The name for the SVG event attributeonemptied: "onemptied".- See Also:
-
SVGATTRIBUTE_OnEnded
The name for the SVG event attributeonended: "onended".- See Also:
-
SVGATTRIBUTE_OnError
The name for the SVG event attributeonerror: "onerror".- See Also:
-
SVGATTRIBUTE_OnFocus
The name for the SVG event attributeonfocus: "onfocus".- See Also:
-
SVGATTRIBUTE_OnFocusIn
The name for the SVG event attributeonfocusin: "onfocusin".- See Also:
-
SVGATTRIBUTE_OnFocusOut
The name for the SVG event attributeonfocusout: "onfocusout".- See Also:
-
SVGATTRIBUTE_OnInput
The name for the SVG event attributeoninput: "oninput".- See Also:
-
SVGATTRIBUTE_OnInvalid
The name for the SVG event attributeoninvalid: "oninvalid".- See Also:
-
SVGATTRIBUTE_OnKeyDown
The name for the SVG event attributeonkeydown: "onkeydown".- See Also:
-
SVGATTRIBUTE_OnKeyPress
The name for the SVG event attributeonkeypress: "onkeypress".- See Also:
-
SVGATTRIBUTE_OnKeyUp
The name for the SVG event attributeonkeyup: "onkeyup".- See Also:
-
SVGATTRIBUTE_OnLoad
The name for the SVG event attributeonload: "onload".- See Also:
-
SVGATTRIBUTE_OnLoadedData
The name for the SVG event attributeonloadeddata: "onloadeddata".- See Also:
-
SVGATTRIBUTE_OnLoadedMetadata
The name for the SVG event attributeonloadedmetadata: "onloadedmetadata".- See Also:
-
SVGATTRIBUTE_OnLoadStart
The name for the SVG event attributeonloadstart: "onloadstart".- See Also:
-
SVGATTRIBUTE_OnMouseDown
The name for the SVG event attributeonmousedown: "onmousedown".- See Also:
-
SVGATTRIBUTE_OnMouseEnter
The name for the SVG event attributeonmouseenter: "onmouseenter".- See Also:
-
SVGATTRIBUTE_OnMouseLeave
The name for the SVG event attributeonmouseleave: "onmouseleave".- See Also:
-
SVGATTRIBUTE_OnMouseMove
The name for the SVG event attributeonmousemove: "onmousemove".- See Also:
-
SVGATTRIBUTE_OnMouseOut
The name for the SVG event attributeonmouseout: "onmouseout".- See Also:
-
SVGATTRIBUTE_OnMouseOver
The name for the SVG event attributeonmouseover: "onmouseover".- See Also:
-
SVGATTRIBUTE_OnMouseUp
The name for the SVG event attributeonmouseup: "onmouseup".- See Also:
-
SVGATTRIBUTE_OnMouseWheel
The name for the SVG event attributeonmousewheel: "onmousewheel".- See Also:
-
SVGATTRIBUTE_OnPaste
The name for the SVG document element event attributeonpaste: "onpaste".- See Also:
-
SVGATTRIBUTE_OnPause
The name for the SVG event attributeonpause: "onpause".- See Also:
-
SVGATTRIBUTE_OnPlay
The name for the SVG event attributeonplay: "onplay".- See Also:
-
SVGATTRIBUTE_OnPlaying
The name for the SVG event attributeonplaying: "onplaying".- See Also:
-
SVGATTRIBUTE_OnProgress
The name for the SVG event attributeonprogress: "onprogress".- See Also:
-
SVGATTRIBUTE_OnRateChange
The name for the SVG event attributeonratechange: "onratechange".- See Also:
-
SVGATTRIBUTE_OnReset
The name for the SVG event attributeonreset: "onreset".- See Also:
-
SVGATTRIBUTE_OnResize
The name for the SVG event attributeonresize: "onresize".- See Also:
-
SVGATTRIBUTE_OnScroll
The name for the SVG event attributeonscroll: "onscroll".- See Also:
-
SVGATTRIBUTE_OnSeeked
The name for the SVG event attributeonseeked: "onseeked".- See Also:
-
SVGATTRIBUTE_OnSeeking
The name for the SVG event attributeonseeking: "onseeking".- See Also:
-
SVGATTRIBUTE_OnSelect
The name for the SVG event attributeonselect: "onselect".- See Also:
-
SVGATTRIBUTE_OnShow
The name for the SVG event attributeonshow: "onshow".- See Also:
-
SVGATTRIBUTE_OnStalled
The name for the SVG event attributeonstalled: "onstalled".- See Also:
-
SVGATTRIBUTE_OnSubmit
The name for the SVG event attributeonsubmit: "onsubmit".- See Also:
-
SVGATTRIBUTE_OnSuspend
The name for the SVG event attributeonsuspend: "onsuspend".- See Also:
-
SVGATTRIBUTE_OnTimeUpdate
The name for the SVG event attributeontimeupdate: "ontimeupdate".- See Also:
-
SVGATTRIBUTE_OnToggle
The name for the SVG event attributeontoggle: "ontoggle".- See Also:
-
SVGATTRIBUTE_OnUnload
The name for the SVG event attributeonunload: "onunload".- See Also:
-
SVGATTRIBUTE_OnVolumeChange
The name for the SVG event attributeonvolumechange: "onvolumechange".- See Also:
-
SVGATTRIBUTE_OnWaiting
The name for the SVG event attributeonwaiting: "onwaiting".- See Also:
-
SVGATTRIBUTE_Opacity
The name for the SVG presentation attributeopacity: "opacity".- See Also:
-
SVGATTRIBUTE_Orientation
The name for the SVG marker attributeorient: "orient".- See Also:
-
SVGATTRIBUTE_Overflow
The name for the SVG presentation attributeoverflow: "overflow".- See Also:
-
SVGATTRIBUTE_PathDefinition
The name for the SVG attributedthat defines a path: "d".- See Also:
-
SVGATTRIBUTE_PathLength
The name for the SVG attributepathLength: "pathLength".- See Also:
-
SVGATTRIBUTE_PointerEvents
The name for the SVG presentation attributepointer-events: "pointer-events".- See Also:
-
SVGATTRIBUTE_Position
The name for the SVG marker attributeposition: "position".- See Also:
-
SVGATTRIBUTE_PreserveAspectRatio
The name for the SVGpreserveAspectRatioattribute: "preserveAspectRatio".- See Also:
-
SVGATTRIBUTE_Reference
The name for the attribute that is used to set references in SVG: "xlink:href".- See Also:
-
SVGATTRIBUTE_ReferenceX
The name for the SVG marker attributerefX: "refX".- See Also:
-
SVGATTRIBUTE_ReferenceY
The name for the SVG marker attributerefY: "refY".- See Also:
-
SVGATTRIBUTE_RequiredExtensions
The name for the SVG attribute that defines the extensions that are required to render an element: "requiredExtensions".- See Also:
-
SVGATTRIBUTE_RequiredFeatures
The name for the SVG attribute that defines the features that are required to render an element: "requiredFeatures".- See Also:
-
SVGATTRIBUTE_Rotate
The name for the SVGrotateattribute: "rotate".- See Also:
-
SVGATTRIBUTE_rx
The name for the SVGrxattribute: "rx".- See Also:
-
SVGATTRIBUTE_ry
The name for the SVGryattribute: "ry".- See Also:
-
SVGATTRIBUTE_ShapeRendering
The name for the SVG presentation attributeshape-rendering: "shape-rendering".- See Also:
-
SVGATTRIBUTE_StopColor
The name for the SVG presentation attributestop-color: "stop-color".- See Also:
-
SVGATTRIBUTE_StopOpacity
The name for the SVG presentation attributestop-opacity: "stop-opacity".- See Also:
-
SVGATTRIBUTE_Stroke
The name for the SVG presentation attributestroke: "stroke".- See Also:
-
SVGATTRIBUTE_StrokeDashArray
The name for the SVG presentation attributestroke-dasharray: "stroke-dasharray".- See Also:
-
SVGATTRIBUTE_StrokeDashOffset
The name for the SVG presentation attributestroke-dashoffset: "stroke-dashoffset".- See Also:
-
SVGATTRIBUTE_StrokeLineCap
The name for the SVG presentation attributestroke-linecap: "stroke-linecap".- See Also:
-
SVGATTRIBUTE_StrokeLineJoin
The name for the SVG presentation attributestroke-linejoin: "stroke-linejoin".- See Also:
-
SVGATTRIBUTE_StrokeMiterLimit
The name for the SVG presentation attributestroke-miterlimit: "stroke-miterlimit".- See Also:
-
SVGATTRIBUTE_StrokeOpacity
The name for the SVG presentation attributestroke-opacity: "stroke-opacity".- See Also:
-
SVGATTRIBUTE_StrokeWidth
The name for the SVG presentation attributestroke-width: "stroke-width".- See Also:
-
SVGATTRIBUTE_Style
The name for the SVG CSSstyleattribute: "style".- See Also:
-
SVGATTRIBUTE_SystemLanguage
The name for the SVG attribute that defines the languages that are supported by an SVG element: "systemLanguage".
It will be rendered only when the current system language matches one entry in the list.- See Also:
-
SVGATTRIBUTE_TabIndex
The name for the SVGtabindexattribute: "tabindex".- See Also:
-
SVGATTRIBUTE_TextAnchor
The name for the SVG presentation attributetext-anchor: "text-anchor".- See Also:
-
SVGATTRIBUTE_TextDecoration
The name for the SVG presentation attributetext-decoration: "text-decoration".- See Also:
-
SVGATTRIBUTE_TextLength
The name for the SVGtextLengthattribute: "textLength".- See Also:
-
SVGATTRIBUTE_TextRendering
The name for the SVG presentation attributetext-rendering: "text-rendering".- See Also:
-
SVGATTRIBUTE_Transform
The name for the SVG presentation attributetransform: "transform".- See Also:
-
SVGATTRIBUTE_UnicodeBidi
The name for the SVG presentation attributeunicode-bidi: "unicode-bidi".- See Also:
-
SVGATTRIBUTE_VectorEffect
The name for the SVG presentation attributevector-effect: "vector-effect".- See Also:
-
SVGATTRIBUTE_Version
The name for the SVGversionattribute: "version".- See Also:
-
SVGATTRIBUTE_ViewBox
The name for the SVGviewBoxattribute: "viewBox".- See Also:
-
SVGATTRIBUTE_Visibility
The name for the SVG presentation attributevisibility: "visibility".- See Also:
-
SVGATTRIBUTE_Width
The name for the SVGwidthattribute: "width".- See Also:
-
SVGATTRIBUTE_WordSpacing
The name for the SVG presentation attributeword-spacing: "word-spacing".- See Also:
-
SVGATTRIBUTE_WritingMode
The name for the SVG presentation attributewriting-mode: "writing-mode".- See Also:
-
SVGATTRIBUTE_x
The name for the SVGxcoordinate attribute: "x".- See Also:
-
SVGATTRIBUTE_x1
The name for the SVGx1coordinate attribute: "x1".- See Also:
-
SVGATTRIBUTE_x2
The name for the SVGx2coordinate attribute: "x2".- See Also:
-
SVGATTRIBUTE_XLink_Actuate
The name for the XLinkactuateattribute: "xlink:actuate".- See Also:
-
SVGATTRIBUTE_XLink_ArcRole
The name for the XLinkarcroleattribute: "xlink:arcrole".- See Also:
-
SVGATTRIBUTE_XLink_Reference
The name for the XLink attribute that is used to set references in SVG: "xlink:href".- See Also:
-
SVGATTRIBUTE_XLink_Role
The name for the XLinkroleattribute: "xlink:role".- See Also:
-
SVGATTRIBUTE_XLink_Show
The name for the XLinkshowattribute: "xlink:show".- See Also:
-
SVGATTRIBUTE_XLink_Title
The name for the XLinktitleattribute: "xlink:title".- See Also:
-
SVGATTRIBUTE_XLink_Type
The name for the XLinktypeattribute: "xlink:type".- See Also:
-
SVGATTRIBUTE_y
The name for the SVGycoordinate attribute: "y".- See Also:
-
SVGATTRIBUTE_y1
The name for the SVGy1coordinate attribute: "y1".- See Also:
-
SVGATTRIBUTE_y2
The name for the SVGy2coordinate attribute: "y2".- See Also:
-
SVGATTRIBUTE_ZoomAndPan
The name for the SVGzoomAndPanattribute: "zoomAndPan".- See Also:
-
SVGELEMENT_AltGlyph
The name for the SVG element TODO - Add the proper description! "altGlyph".- See Also:
-
SVGELEMENT_AltGlyphDef
The name for the SVG element TODO - Add the proper description! "altGlyphDef".- See Also:
-
SVGELEMENT_AltGlyphItem
The name for the SVG element TODO - Add the proper description! "altGlyphItem".- See Also:
-
SVGELEMENT_Anchor
The name for the SVG anchor element: "a".- See Also:
-
SVGELEMENT_Animate
The name for the SVG element TODO - Add the proper description! "animate".- See Also:
-
SVGELEMENT_AnimateColor
The name for the SVG element TODO - Add the proper description! "animateColor".- See Also:
-
SVGELEMENT_AnimateMotion
The name for the SVG element TODO - Add the proper description! "animateMotion".- See Also:
-
SVGELEMENT_AnimateTransform
The name for the SVG element TODO - Add the proper description! "animateTransform".- See Also:
-
SVGELEMENT_Circle
The name for the SVG element representing a circle shape: "circle".- See Also:
-
SVGELEMENT_ClipPath
The name for the SVG element that defines a clipping path: "clipPath".- See Also:
-
SVGELEMENT_ColorProfile
The name for the SVG element TODO - Add the proper description! "colorProfile".- See Also:
-
SVGELEMENT_Cursor
The name for the SVG element TODO - Add the proper description! "cursor".- See Also:
-
SVGELEMENT_Defs
The name for the SVG element that holds definitions of elements that will be referenced elsewhere: "defs".- See Also:
-
SVGELEMENT_Description
The name for the SVG element that can be added to any other element to assign a description to it: "desc".- See Also:
-
SVGELEMENT_Discard
The name for the SVG element TODO - Add the proper description! "discard".- See Also:
-
SVGELEMENT_Ellipse
The name for the SVG element representing an ellipse shape: "ellipse".- See Also:
-
SVGELEMENT_Filter
The name for the SVG element TODO - Add the proper description! "filter".- See Also:
-
SVGELEMENT_Filter_feBlend
The name for the SVG element TODO - Add the proper description! "feBlend".- See Also:
-
SVGELEMENT_Filter_feColorMatrix
The name for the SVG element TODO - Add the proper description! "feColorMatrix".- See Also:
-
SVGELEMENT_Filter_feComponentTransfer
The name for the SVG element TODO - Add the proper description! "feComponentTransfer".- See Also:
-
SVGELEMENT_Filter_feComposite
The name for the SVG element TODO - Add the proper description! "feComposite".- See Also:
-
SVGELEMENT_Filter_feConvolveMatrix
The name for the SVG element TODO - Add the proper description! "feConvolveMatrix".- See Also:
-
SVGELEMENT_Filter_feDiffuseLighting
The name for the SVG element TODO - Add the proper description! "feDiffuseLighting".- See Also:
-
SVGELEMENT_Filter_feDisplacementMap
The name for the SVG element TODO - Add the proper description! "feDisplacementMap".- See Also:
-
SVGELEMENT_Filter_feDropShadow
The name for the SVG element TODO - Add the proper description! "feDropShadow".- See Also:
-
SVGELEMENT_Filter_feFlood
The name for the SVG element TODO - Add the proper description! "feFlood".- See Also:
-
SVGELEMENT_Filter_feFuncA
The name for the SVG element TODO - Add the proper description! "feFuncA".- See Also:
-
SVGELEMENT_Filter_feFuncB
The name for the SVG element TODO - Add the proper description! "feFuncB".- See Also:
-
SVGELEMENT_Filter_feFuncG
The name for the SVG element TODO - Add the proper description! "feFuncG".- See Also:
-
SVGELEMENT_Filter_feFuncR
The name for the SVG element TODO - Add the proper description! "feFuncR".- See Also:
-
SVGELEMENT_Filter_feGaussianBlur
The name for the SVG element TODO - Add the proper description! "feGaussianBlur".- See Also:
-
SVGELEMENT_Filter_feImage
The name for the SVG element TODO - Add the proper description! "feImage".- See Also:
-
SVGELEMENT_Filter_feMerge
The name for the SVG element TODO - Add the proper description! "feMerge".- See Also:
-
SVGELEMENT_Filter_feMergeNode
The name for the SVG element TODO - Add the proper description! "feMergeNode".- See Also:
-
SVGELEMENT_Filter_feMorphology
The name for the SVG element TODO - Add the proper description! "feMorphology".- See Also:
-
SVGELEMENT_Filter_feOffset
The name for the SVG element TODO - Add the proper description! "feOffset".- See Also:
-
SVGELEMENT_Filter_feSpecularLighting
The name for the SVG element TODO - Add the proper description! "feSpecularLighting".- See Also:
-
SVGELEMENT_Filter_feTile
The name for the SVG element TODO - Add the proper description! "feTile".- See Also:
-
SVGELEMENT_Filter_feTurbulence
The name for the SVG element TODO - Add the proper description! "feTurbulence".- See Also:
-
SVGELEMENT_Font
The name for the SVG element TODO - Add the proper description! "font".- See Also:
-
SVGELEMENT_FontFace
The name for the SVG element TODO - Add the proper description! "font-face".- See Also:
-
SVGELEMENT_FontFaceFormat
The name for the SVG element TODO - Add the proper description! "font-face-format".- See Also:
-
SVGELEMENT_FontFaceName
The name for the SVG element TODO - Add the proper description! "font-face-name".- See Also:
-
SVGELEMENT_FontFaceSource
The name for the SVG element TODO - Add the proper description! "font-face-src".- See Also:
-
SVGELEMENT_FontFaceURI
The name for the SVG element TODO - Add the proper description! "font-face-uri".- See Also:
-
SVGELEMENT_ForeignObject
The name for the SVG element TODO - Add the proper description! "foreignObject".- See Also:
-
SVGELEMENT_Glyph
The name for the SVG element TODO - Add the proper description! "glyph".- See Also:
-
SVGELEMENT_GlyphRef
The name for the SVG element TODO - Add the proper description! "glyphRef".- See Also:
-
SVGELEMENT_GradientLinear
The name for the SVG element TODO - Add the proper description! "linearGradient".- See Also:
-
SVGELEMENT_GradientMesh
The name for the SVG element TODO - Add the proper description! "meshGradient".- See Also:
-
SVGELEMENT_GradientRadial
The name for the SVG element TODO - Add the proper description! "radialGradient".- See Also:
-
SVGELEMENT_Group
The name for the SVG group element: "g".- See Also:
-
SVGELEMENT_Hatch
The name for the SVG element TODO - Add the proper description! "hatch".- See Also:
-
SVGELEMENT_HatchPath
The name for the SVG element TODO - Add the proper description! "hatchPath".- See Also:
-
SVGELEMENT_HKern
The name for the SVG element TODO - Add the proper description! "hkern".- See Also:
-
SVGELEMENT_Image
The name for the SVG element TODO - Add the proper description! "image".- See Also:
-
SVGELEMENT_Light_feDistantLight
The name for the SVG element TODO - Add the proper description! "feDistantLight".- See Also:
-
SVGELEMENT_Light_fePointLight
The name for the SVG element TODO - Add the proper description! "fePointLight".- See Also:
-
SVGELEMENT_Light_feSpotLight
The name for the SVG element TODO - Add the proper description! "feSpotLight".- See Also:
-
SVGELEMENT_Line
The name for the SVG element representing a line: "line".- See Also:
-
SVGELEMENT_Marker
The name for the SVG<marker>element: "marker".- See Also:
-
SVGELEMENT_Mask
The name for the SVG element TODO - Add the proper description! "mask".- See Also:
-
SVGELEMENT_Mesh
The name for the SVG element TODO - Add the proper description! "mesh".- See Also:
-
SVGELEMENT_MeshPatch
The name for the SVG element TODO - Add the proper description! "meshPatch".- See Also:
-
SVGELEMENT_MeshRow
The name for the SVG element TODO - Add the proper description! "meshRow".- See Also:
-
SVGELEMENT_Metadata
The name for the SVG element TODO - Add the proper description! "metadata".- See Also:
-
SVGELEMENT_MissingGlyph
The name for the SVG element TODO - Add the proper description! "missing-glyph".- See Also:
-
SVGELEMENT_MPath
The name for the SVG element TODO - Add the proper description! "mpath".- See Also:
-
SVGELEMENT_Path
The name for the SVG element TODO - Add the proper description! "path".- See Also:
-
SVGELEMENT_Pattern
The name for the SVG element TODO - Add the proper description! "pattern".- See Also:
-
SVGELEMENT_Polygon
The name for the SVG element representing a polygon shape: "polygon".- See Also:
-
SVGELEMENT_PolyLine
The name for the SVG element representing a poly line: "polyline".- See Also:
-
SVGELEMENT_Rectangle
The name for the SVG element representing a rectangle shape: "rect".- See Also:
-
SVGELEMENT_Root
The name for the SVG root element: "svg".- See Also:
-
SVGELEMENT_Script
The name for the SVG element TODO - Add the proper description! "script".- See Also:
-
SVGELEMENT_Set
The name for the SVG element TODO - Add the proper description! "set".- See Also:
-
SVGELEMENT_SolidColor
The name for the SVG element<solidcolor>: "solidcolor".
The form<solidColor>had been abandoned before the final specification was published.- See Also:
-
SVGELEMENT_Stop
The name for the SVG element TODO - Add the proper description! "stop".- See Also:
-
SVGELEMENT_Style
The name for the SVG element TODO - Add the proper description! "style".- See Also:
-
SVGELEMENT_Switch
The name for the SVG element TODO - Add the proper description! "switch".- See Also:
-
SVGELEMENT_Symbol
The name for the SVG<symbol>element that allows to create reusable parts of an image: "symbol".- See Also:
-
SVGELEMENT_Text
The name for an SVG element holding text: "text".- See Also:
-
SVGELEMENT_TextPath
The name for the SVG element TODO - Add the proper description! "textPath".- See Also:
-
SVGELEMENT_Title
The name for the SVG element that can be added to any other element to assign a title to it: "title".- See Also:
-
SVGELEMENT_TRef
The name for the SVG element TODO - Add the proper description! "tref".- See Also:
-
SVGELEMENT_TSpan
The name for the SVG<tspan>element: "tspan".- See Also:
-
SVGELEMENT_Unknown
The name for the SVG element TODO - Add the proper description! "unknown".- See Also:
-
SVGELEMENT_Use
The name for the SVG element that is used to clone other elements: "use".- See Also:
-
SVGELEMENT_View
The name for the SVG element TODO - Add the proper description! "view".- See Also:
-
SVGELEMENT_VKern
The name for the SVG element TODO - Add the proper description! "vkern".- See Also:
-
XMLATTRIBUTE_Base
The name for the XMLbaseattribute: "xml:base".- See Also:
-
-
Constructor Details
-
SVGUtils
private SVGUtils()No instance allowed for this class.
-
-
Method Details
-
arcTo
@API(status=STABLE, since="0.0.5") public static final SVGPathElement arcTo(double rx, double ry, double rotation, boolean largeArc, boolean sweep, double x, double y) Creates an instance of the path elementSVGPathElement.SVGArcTothat uses relative coordinates.- Parameters:
rx- The x radius for the ellipsis.ry- The y radius for the ellipsis.rotation- The rotation of the x-axis.largeArc-trueto draw the larger arc,falsefor the smaller arc.sweep-trueto draw the arc in "positive-angle" direction,falsefor drawing it in a "negative-angle" direction.x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
arcTo
@API(status=STABLE, since="0.0.5") public static final SVGPathElement arcTo(long rx, long ry, long rotation, boolean largeArc, boolean sweep, long x, long y) Creates an instance of the path elementSVGPathElement.SVGArcTothat uses relative coordinates.- Parameters:
rx- The x radius for the ellipsis.ry- The y radius for the ellipsis.rotation- The rotation of the x-axis.largeArc-trueto draw the larger arc,falsefor the smaller arc.sweep-trueto draw the arc in "positive-angle" direction,falsefor drawing it in a "negative-angle" direction.x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
arcToAbs
@API(status=STABLE, since="0.0.5") public static final SVGPathElement arcToAbs(double rx, double ry, double rotation, boolean largeArc, boolean sweep, double x, double y) Creates an instance of the path elementSVGPathElement.SVGArcTothat uses absolute coordinates.- Parameters:
rx- The x radius for the ellipsis.ry- The y radius for the ellipsis.rotation- The rotation of the x-axis.largeArc-trueto draw the larger arc,falsefor the smaller arc.sweep-trueto draw the arc in "positive-angle" direction,falsefor drawing it in a "negative-angle" direction.x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
arcToAbs
@API(status=STABLE, since="0.0.5") public static final SVGPathElement arcToAbs(long rx, long ry, long rotation, boolean largeArc, boolean sweep, long x, long y) Creates an instance of the path elementSVGPathElement.SVGArcTothat uses absolute coordinates.- Parameters:
rx- The x radius for the ellipsis.ry- The y radius for the ellipsis.rotation- The rotation of the x-axis.largeArc-trueto draw the larger arc,falsefor the smaller arc.sweep-trueto draw the arc in "positive-angle" direction,falsefor drawing it in a "negative-angle" direction.x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
centimeter
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.CENTIMETER.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
centimeter
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.CENTIMETER.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
cloneElement
Clones the given element.
The clone will be semantically identical to the given element (it looks the same in the final output), but it will not be of the same Java type.- Parameters:
element- The element to clone.- Returns:
- The clone.
-
closePath
Creates an instance of the path elementSVGPathElement.SVGClosePaththat uses relative coordinates.- Returns:
- The new path element.
-
color
Returns theSVGColorinstance with the type "inherit".- Returns:
- The instance of
SVGColor. - See Also:
-
color
Creates a newSVGColorinstance from the given colour values.
Allowed are the values from 0 to 255, other values will be normalised accordingly.- Parameters:
red- The red component for the colour.green- The green component for the colour.blue- The blue component for the colour.- Returns:
- The new instance of
SVGColor.
-
color
@API(status=STABLE, since="0.0.5") public static final SVGColor color(boolean flag, int red, int green, int blue) Creates a newSVGColorinstance from the given colour values.
Allowed are the values from 0 to 255, or 0% to 100% respectively, other values will be normalised accordingly.- Parameters:
flag-trueif the given values are percentages,falseif they are absolute values.red- The red component for the colour.green- The green component for the colour.blue- The blue component for the colour.- Returns:
- The new instance of
SVGColor.
-
color
Creates a newSVGColorinstance, using the given argument as a CSS colour name.
The given argument may not benullnor the empty String, but it will not undergo any further validation.- Parameters:
color- The CSS colour name.- Returns:
- The new instance of
SVGColor.
-
createCCNamespace
Creates the namespace instance that is used for all Creative Commons stuff.- Returns:
- The new namespace instance.
-
createClipPath
Creates an SVG<clipPath>element instance.- Parameters:
id- The id for the new<marker>element.- Returns:
- The new
<clipPath>element.
-
createClipPath
@API(status=STABLE, since="0.0.5") public static final SVGClipPath createClipPath(String id, SVG parent) Creates an SVG<clipPath>element instance and adds it to the given<svg>element.- Parameters:
id- The id for the new<marker>element.parent- The parent<svg>element.- Returns:
- The new
<clipPath>element.
-
createGenericElement
@API(status=STABLE, since="0.0.5") public static final SVGGenericElement createGenericElement(String elementName) Creates a generic SVG element.
This method should be used to create an SVG element that does not have (yet) its specific implementation class. It does not work to introduce completely new, still unknown SVG elements, as it checks the given element name.
The returned instance will also check which attributes are allowed for the element it represents as well as which children are allowed to it.- Parameters:
elementName- The name for the new element.- Returns:
- The new generic SVG element.
- Throws:
IllegalArgumentException- The given element name does not denote a define SVG element.
-
createGroup
Creates an SVG<g>element instance.- Returns:
- The new
<g>element.
-
createGroup
@API(status=STABLE, since="0.0.5") public static final SVGGroup createGroup(SVGElementWithChildren parent) Creates an SVG<g>element instance.- Parameters:
parent- The parent for the new<g>element.- Returns:
- The new
<g>element.
-
createLine
Creates an SVG<line>element instance.- Returns:
- The new
<line>element.
-
createLine
@API(status=STABLE, since="0.0.5") public static final SVGLine createLine(SVGElementWithChildren parent) Creates an SVG<line>element instance and adds it to the given parent element.- Parameters:
parent- The parent element.- Returns:
- The new
<line>element.
-
createLine
@API(status=STABLE, since="0.0.5") public static final SVGLine createLine(SVGNumber x1, SVGNumber y1, SVGNumber x2, SVGNumber y2) Creates an SVG<line>element instance with the given start and end points.- Parameters:
x1- The x coordinate for the starting point of the line.y1- The y coordinate for the starting point of the line.x2- The x coordinate for the ending point of the line.y2- The y coordinate for the ending point of the line.- Returns:
- The new
<line>element.
-
createLine
@API(status=STABLE, since="0.0.5") public static final SVGLine createLine(SVGElementWithChildren parent, SVGNumber x1, SVGNumber y1, SVGNumber x2, SVGNumber y2) Creates an SVG<line>element instance with the given start and end points and adds it to the given parent element.- Parameters:
parent- The parent element.x1- The x coordinate for the starting point of the line.y1- The y coordinate for the starting point of the line.x2- The x coordinate for the ending point of the line.y2- The y coordinate for the ending point of the line.- Returns:
- The new
<line>element.
-
createMarker
@API(status=STABLE, since="0.0.5") public static final SVGMarker createMarker(String id, SVG parent) Creates an SVG<marker>element instance and adds it to the given<svg>element.- Parameters:
id- The id for the new<marker>element.parent- The parent<svg>element.- Returns:
- The new
<marker>element.
-
createPath
Creates an SVG<path>element instance.- Returns:
- The new
<path>element.
-
createPath
@API(status=STABLE, since="0.0.5") public static final SVGPath createPath(SVGElementWithChildren parent) Creates an SVG<Path>element instance and adds it to the given parent element.- Parameters:
parent- The parent element.- Returns:
- The new
<path>element.
-
createPath
@API(status=STABLE, since="0.0.5") public static final SVGPath createPath(SVGPathElement... pathDefinition) Creates an SVG<path>element instance with the given path definition.- Parameters:
pathDefinition- The path definition.- Returns:
- The new
<path>element.
-
createPath
@API(status=STABLE, since="0.0.5") public static final SVGPath createPath(SVGElementWithChildren parent, SVGPathElement... pathDefinition) Creates an SVG<path>element instance with the given path definition and adds it to the given parent element.- Parameters:
parent- The parent element.pathDefinition- The path definition.- Returns:
- The new
<path>element.
-
createPositionedMarker
Creates an SVG<marker>element instance that is used as a positioned marker.- Returns:
- The new
<marker>element.
-
createPositionedMarker
@API(status=STABLE, since="0.0.5") public static final SVGPositionedMarker createPositionedMarker(String id, SVGElementWithChildren parent) Creates an SVG<marker>element instance that is used as a positioned marker and adds it to the given parent.- Parameters:
id- The id for the new<marker>element.parent- The parent element.- Returns:
- The new
<marker>element.
-
createRDFNamespace
Creates the namespace instance that is used for all RDF stuff.- Returns:
- The new namespace instance.
-
createRectangle
Creates an SVG<rect>element instance.- Returns:
- The new
<rect>element.
-
createRectangle
@API(status=STABLE, since="0.0.5") public static final SVGRectangle createRectangle(SVGElementWithChildren parent) Creates an SVG<rect>element instance and adds it to the given parent element.- Parameters:
parent- The parent element.- Returns:
- The new
<rect>element.
-
createRectangle
@API(status=STABLE, since="0.0.5") public static final SVGRectangle createRectangle(SVGNumber x, SVGNumber y, SVGNumber width, SVGNumber height) Creates an SVG<rect>element instance with the given start and end points.- Parameters:
x- The x coordinate for the upper left corner of the rectangle.y- The x coordinate for the upper left corner of the rectangle.width- The width of the rectangle.height- The height of the rectangle.- Returns:
- The new
<rect>element.
-
createRectangle
@API(status=STABLE, since="0.0.5") public static final SVGRectangle createRectangle(SVGElementWithChildren parent, SVGNumber x, SVGNumber y, SVGNumber width, SVGNumber height) Creates an SVG<rect>element instance with the given start and end points and adds it to the given parent element.- Parameters:
parent- The parent element.x- The x coordinate for the upper left corner of the rectangle.y- The x coordinate for the upper left corner of the rectangle.width- The width of the rectangle.height- The height of the rectangle.- Returns:
- The new
<rect>element.
-
createSVG
Creates an SVG<svg>element instance.- Parameters:
usage- How the new<svg>element should be used.- Returns:
- The new
<svg>element.
-
createSVG
Creates an SVG<svg>element instance and adds it to the given parent.- Parameters:
parent- The parent for the new<svg>element.- Returns:
- The new
<svg>element.
-
createSVGDocument
@API(status=STABLE, since="0.0.5") public static final XMLDocument createSVGDocument(SVG rootElement) Creates an XML document instance with the given<svg>element as the root element.- Parameters:
rootElement- The root element.- Returns:
- The new SVG document.
-
createSVGNamespace
Creates the namespace instance that is used for all SVG stuff.- Parameters:
prefix- The prefix; can be empty ornull.- Returns:
- The new namespace instance.
-
createStyle
Creates an SVG<style>element instance.- Returns:
- The new
<symbol>element instance.
-
createStyle
Creates an SVG<style>element instance and adds it to the given<svg>element.- Parameters:
parent- The parent for the new<style>element.- Returns:
- The new
<symbol>element instance.
-
createStyle
Creates an SVG<style>element instance and adds it to the given<svg>element.- Parameters:
styles- The CSS style definitions.- Returns:
- The new
<symbol>element instance.
-
createStyle
@API(status=STABLE, since="0.0.5") public static final SVGStyle createStyle(SVG parent, CharSequence... styles) Creates an SVG<style>element instance and adds it to the given<svg>element.- Parameters:
parent- The parent for the new<style>element.styles- The CSS style definitions.- Returns:
- The new
<symbol>element instance.
-
createSymbol
Creates an SVG<symbol>element instance.- Parameters:
id- The id for the new<symbol>.- Returns:
- The new
<symbol>element.
-
createSymbol
@API(status=STABLE, since="0.0.5") public static final SVGSymbol createSymbol(String id, SVG parent) Creates an SVG<symbol>element instance and adds it to the given<svg>element.- Parameters:
id- The id for the new<symbol>.parent- The parent for the new<symbol>element.- Returns:
- The new
<symbol>element.
-
createText
Creates an SVG<text>element instance.- Returns:
- The new
<text>element.
-
createText
Creates an SVG<text>element instance and adds it to the given parent.- Parameters:
text- The text for the new element.- Returns:
- The new
<text>element.
-
createText
@API(status=STABLE, since="0.0.5") public static final SVGText createText(SVGElementWithChildren parent) Creates an SVG<text>element instance and adds it to the given parent.- Parameters:
parent- The parent for the new<text>element.- Returns:
- The new
<text>element.
-
createText
@API(status=STABLE, since="0.0.5") public static final SVGText createText(SVGElementWithChildren parent, CharSequence text) Creates an SVG<text>element instance and adds it to the given parent.- Parameters:
parent- The parent for the new<text>element.text- The text for the new element.- Returns:
- The new
<text>element.
-
createTSpan
Creates an SVG<tspan>element instance.- Returns:
- The new
<tspan>element.
-
createTSpan
Creates an SVG<tspan>element as child of the given<text>.- Parameters:
text- The text for the new<tspan>element.- Returns:
- The new
<tspan>element.
-
createTSpan
Creates an SVG<tspan>element as child of the given<text>.- Parameters:
parent- The parent for the new<tspan>element.- Returns:
- The new
<tspan>element.
-
createTSpan
@API(status=STABLE, since="0.0.5") public static final SVGTSpan createTSpan(SVGText parent, CharSequence text) Creates an SVG<tspan>element as child of the given<text>.- Parameters:
parent- The parent for the new<tspan>element.text- The text for the new<tspan>element.- Returns:
- The new
<tspan>element.
-
createTSpan
Creates an SVG<tspan>element as child of the given<tspan>.- Parameters:
parent- The parent for the new<tspan>element.- Returns:
- The new
<tspan>element.
-
createTSpan
@API(status=STABLE, since="0.0.5") public static final SVGTSpan createTSpan(SVGTSpan parent, CharSequence text) Creates an SVG<tspan>element as child of the given<tspan>.- Parameters:
parent- The parent for the new<tspan>element.text- The text for the new<tspan>element.- Returns:
- The new
<tspan>element.
-
createUse
Creates an SVG<use>element instance.- Parameters:
reference- The reference to the element to clone.- Returns:
- The new
<use>element.
-
createUse
@API(status=STABLE, since="0.0.5") public static final SVGUse createUse(SVGElementWithChildren parent, URI reference) Creates an SVG<use>element instance and adds it to the given parent.- Parameters:
parent- The parent for the new<use>element.reference- The reference to the element to clone.- Returns:
- The new
<use>element.
-
createXLINKNamespace
Creates the namespace instance that is used for all XLINK stuff.- Returns:
- The new namespace instance.
-
cubicCurveTo
@API(status=STABLE, since="0.0.5") public static final SVGPathElement cubicCurveTo(double x2, double y2, double x, double y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses relative coordinates.- Parameters:
x2- The x coordinate for the second control pointy2- The y coordinate for the second control pointx- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
cubicCurveTo
@API(status=STABLE, since="0.0.5") public static final SVGPathElement cubicCurveTo(double x1, double y1, double x2, double y2, double x, double y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses relative coordinates.- Parameters:
x1- The x coordinate for the first control point.y1- The y coordinate for the first control point.x2- The x coordinate for the second control pointy2- The y coordinate for the second control pointx- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
cubicCurveTo
@API(status=STABLE, since="0.0.5") public static final SVGPathElement cubicCurveTo(long x2, long y2, long x, long y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses relative coordinates.- Parameters:
x2- The x coordinate for the second control pointy2- The y coordinate for the second control pointx- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
cubicCurveTo
@API(status=STABLE, since="0.0.5") public static final SVGPathElement cubicCurveTo(long x1, long y1, long x2, long y2, long x, long y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses relative coordinates.- Parameters:
x1- The x coordinate for the first control point.y1- The y coordinate for the first control point.x2- The x coordinate for the second control pointy2- The y coordinate for the second control pointx- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
cubicCurveToAbs
@API(status=STABLE, since="0.0.5") public static final SVGPathElement cubicCurveToAbs(double x2, double y2, double x, double y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses absolute coordinates.- Parameters:
x2- The x coordinate for the second control pointy2- The y coordinate for the second control pointx- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
cubicCurveToAbs
@API(status=STABLE, since="0.0.5") public static final SVGPathElement cubicCurveToAbs(double x1, double y1, double x2, double y2, double x, double y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses absolute coordinates.- Parameters:
x1- The x coordinate for the first control point.y1- The y coordinate for the first control point.x2- The x coordinate for the second control pointy2- The y coordinate for the second control pointx- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
cubicCurveToAbs
@API(status=STABLE, since="0.0.5") public static final SVGPathElement cubicCurveToAbs(long x2, long y2, long x, long y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses absolute coordinates.- Parameters:
x2- The x coordinate for the second control pointy2- The y coordinate for the second control pointx- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
cubicCurveToAbs
@API(status=STABLE, since="0.0.5") public static final SVGPathElement cubicCurveToAbs(long x1, long y1, long x2, long y2, long x, long y) Creates an instance of the path elementSVGPathElement.SVGCubicCurveTothat uses absolute coordinates.- Parameters:
x1- The x coordinate for the first control point.y1- The y coordinate for the first control point.x2- The x coordinate for the second control pointy2- The y coordinate for the second control pointx- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
degree
Creates an instance ofSVGNumber.SVGDegreewith the given numeric type.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
degree
Creates an instance ofSVGNumber.SVGDegreewith the given numeric type.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
em
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.EM.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
em
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.EM.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
ex
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.EX.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
ex
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.EX.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
hLineTo
Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses relative coordinates.- Parameters:
x- The x coordinate for the end point of the line.- Returns:
- The new path element.
-
hLineTo
Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses relative coordinates.- Parameters:
x- The x coordinate for the end point of the line.- Returns:
- The new path element.
-
hLineToAbs
Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses absolute coordinates.- Parameters:
x- The x coordinate for the end point of the line.- Returns:
- The new path element.
-
hLineToAbs
Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses absolute coordinates.- Parameters:
x- The x coordinate for the end point of the line.- Returns:
- The new path element.
-
inch
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.INCH.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
inch
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.INCH.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
lineTo
Creates an instance of the path elementSVGPathElement.SVGLineTothat uses relative coordinates.- Parameters:
x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
lineTo
Creates an instance of the path elementSVGPathElement.SVGLineTothat uses relative coordinates.- Parameters:
x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
lineToAbs
Creates an instance of the path elementSVGPathElement.SVGLineTothat uses absolute coordinates.- Parameters:
x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
lineToAbs
Creates an instance of the path elementSVGPathElement.SVGLineTothat uses absolute coordinates.- Parameters:
x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
matrix
@API(status=STABLE, since="0.0.5") public static final SVGTransform.SVGMatrix matrix(long a, long b, long c, long d, long e, long f) Creates an instance ofSVGTransform.SVGMatrix.- Parameters:
a- Parametera.b- Parameterb.c- Parameterc.d- Parameterd.e- Parametere.f- Parameterf.- Returns:
- The
matrixtransform.
-
matrix
@API(status=STABLE, since="0.0.5") public static final SVGTransform.SVGMatrix matrix(double a, double b, double c, double d, double e, double f) Creates an instance ofSVGTransform.SVGMatrix.- Parameters:
a- Parametera.b- Parameterb.c- Parameterc.d- Parameterd.e- Parametere.f- Parameterf.- Returns:
- The
matrixtransform.
-
millimeter
@API(status=STABLE, since="0.0.5") public static final SVGNumber.SVGMillimeter millimeter(double value) Creates an instance ofSVGNumber.SVGMillimeterwith the given numeric type.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
millimeter
@API(status=STABLE, since="0.0.5") public static final SVGNumber.SVGMillimeter millimeter(long value) Creates an instance ofSVGNumber.SVGMillimeterwith the given numeric type.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
moveTo
Creates an instance of the path elementSVGPathElement.SVGMoveTothat uses relative coordinates.- Parameters:
x- The x coordinate.y- The y coordinate.- Returns:
- The new path element.
-
moveTo
Creates an instance of the path elementSVGPathElement.SVGMoveTothat uses relative coordinates.- Parameters:
x- The x coordinate.y- The y coordinate.- Returns:
- The new path element.
-
moveToAbs
Creates an instance of the path elementSVGPathElement.SVGMoveTothat uses absolute coordinates.- Parameters:
x- The x coordinate.y- The y coordinate.- Returns:
- The new path element.
-
moveToAbs
Creates an instance of the path elementSVGPathElement.SVGMoveTothat uses absolute coordinates.- Parameters:
x- The x coordinate.y- The y coordinate.- Returns:
- The new path element.
-
number
@API(status=STABLE, since="0.0.5") public static final SVGNumber.SVGUserUnitValue number(double value) Creates an instance ofSVGNumber.SVGUserUnitValuewith the given numeric type.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
number
@API(status=STABLE, since="0.0.5") public static final SVGNumber.SVGUserUnitValue number(long value) Creates an instance ofSVGNumber.SVGUserUnitValuewith the given numeric type.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
numbers
Creates an array ofSVGNumberinstances.- Parameters:
values- The values.- Returns:
- The
SVGNumberarray.
-
numberList
@API(status=STABLE, since="0.0.5") public static final List<SVGNumber> numberList(SVGNumber... values) - Parameters:
values- The values.- Returns:
- The
SVGNumberlist.
-
percent
Creates an instance ofSVGNumber.SVGPercentwith the given numeric type.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
percent
Creates an instance ofSVGNumber.SVGPercentwith the given numeric type.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
pica
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.PICA.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
pica
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.PICA.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
pixel
Creates an instance ofSVGNumber.SVGPixelwith the given numeric type.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
pixel
Creates an instance ofSVGNumber.SVGPixelwith the given numeric type.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
point
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.POINT.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
point
Creates an instance ofSVGNumberwith the given numeric type and with the unitSVGUnit.POINT.- Parameters:
value- The type.- Returns:
- The new
SVGNumberinstance.
-
quadraticCurveTo
@API(status=STABLE, since="0.0.5") public static final SVGPathElement quadraticCurveTo(double x, double y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses relative coordinates.- Parameters:
x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
quadraticCurveTo
@API(status=STABLE, since="0.0.5") public static final SVGPathElement quadraticCurveTo(double x1, double y1, double x, double y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses relative coordinates.- Parameters:
x1- The x coordinate for the control point.y1- The y coordinate for the control point.x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
quadraticCurveTo
@API(status=STABLE, since="0.0.5") public static final SVGPathElement quadraticCurveTo(long x, long y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses relative coordinates.- Parameters:
x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
quadraticCurveTo
@API(status=STABLE, since="0.0.5") public static final SVGPathElement quadraticCurveTo(long x1, long y1, long x, long y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses relative coordinates.- Parameters:
x1- The x coordinate for the control point.y1- The y coordinate for the control point.x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
quadraticCurveToAbs
@API(status=STABLE, since="0.0.5") public static final SVGPathElement quadraticCurveToAbs(double x, double y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses absolute coordinates.- Parameters:
x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
quadraticCurveToAbs
@API(status=STABLE, since="0.0.5") public static final SVGPathElement quadraticCurveToAbs(double x1, double y1, double x, double y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses absolute coordinates.- Parameters:
x1- The x coordinate for the control point.y1- The y coordinate for the control point.x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
quadraticCurveToAbs
@API(status=STABLE, since="0.0.5") public static final SVGPathElement quadraticCurveToAbs(long x, long y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses absolute coordinates.- Parameters:
x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
quadraticCurveToAbs
@API(status=STABLE, since="0.0.5") public static final SVGPathElement quadraticCurveToAbs(long x1, long y1, long x, long y) Creates an instance of the path elementSVGPathElement.SVGQuadraticCurveTothat uses absolute coordinates.- Parameters:
x1- The x coordinate for the control point.y1- The y coordinate for the control point.x- The x coordinate for the end point of the line.y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
rotate
Creates an instance ofSVGTransform.SVGRotate.- Parameters:
a- The rotation angle.- Returns:
- The
rotatetransformation.
-
rotate
Creates an instance ofSVGTransform.SVGRotate.- Parameters:
a- The rotation angle.- Returns:
- The
rotatetransformation.
-
rotate
@API(status=STABLE, since="0.0.5") public static final SVGTransform.SVGRotate rotate(long a, long x, long y) Creates an instance ofSVGTransform.SVGRotate.- Parameters:
a- The rotation angle.x- The x coordinate of the rotation point.y- The y coordinate of the rotation point.- Returns:
- The
rotatetransformation.
-
rotate
@API(status=STABLE, since="0.0.5") public static final SVGTransform.SVGRotate rotate(double a, double x, double y) Creates an instance ofSVGTransform.SVGRotate.- Parameters:
a- The rotation angle.x- The x coordinate of the rotation point.y- The y coordinate of the rotation point.- Returns:
- The
rotatetransformation.
-
scale
Creates an instance ofSVGTransform.SVGScale. This is equivalent toscale( x, x ).- Parameters:
x- Parameterx.- Returns:
- The
scaletransformation.
-
scale
Creates an instance ofSVGTransform.SVGScale. This is equivalent toscale( x, x ).- Parameters:
x- Parameterx.- Returns:
- The
scaletransformation.
-
scale
Creates an instance ofSVGTransform.SVGScale.- Parameters:
x- Parameterx.y- Parametery.- Returns:
- The
scaletransformation.
-
scale
@API(status=STABLE, since="0.0.5") public static final SVGTransform.SVGScale scale(double x, double y) Creates an instance ofSVGTransform.SVGScale.- Parameters:
x- Parameterx.y- Parametery.- Returns:
- The
scaletransformation.
-
skewX
Creates an instance ofSVGTransform.SVGSkewX.- Parameters:
a- The angle.- Returns:
- The
skewXtransformation.
-
skewX
Creates an instance ofSVGTransform.SVGSkewX.- Parameters:
a- The angle.- Returns:
- The
skewXtransformation.
-
skewY
Creates an instance ofSVGTransform.SVGSkewY.- Parameters:
a- The angle.- Returns:
- The
skewYtransformation.
-
skewY
Creates an instance ofSVGTransform.SVGSkewY.- Parameters:
a- The angle.- Returns:
- The
skewYtransformation.
-
translate
Creates an instance ofSVGTransform.SVGTranslate.- Parameters:
x- Parameterx.- Returns:
- The
translatetransformation.
-
translate
@API(status=STABLE, since="0.0.5") public static final SVGTransform.SVGTranslate translate(double x) Creates an instance ofSVGTransform.SVGTranslate.- Parameters:
x- Parameterx.- Returns:
- The
translatetransformation.
-
translate
@API(status=STABLE, since="0.0.5") public static final SVGTransform.SVGTranslate translate(long x, long y) Creates an instance ofSVGTransform.SVGTranslate.- Parameters:
x- Parameterx.y- Parametery.- Returns:
- The
translatetransformation.
-
translate
@API(status=STABLE, since="0.0.5") public static final SVGTransform.SVGTranslate translate(double x, double y) Creates an instance ofSVGTransform.SVGTranslate.- Parameters:
x- Parameterx.y- Parametery.- Returns:
- The
translatetransformation.
-
vLineTo
Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses relative coordinates.- Parameters:
y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
vLineTo
Creates an instance of the path elementSVGPathElement.SVGHLineTothat uses relative coordinates.- Parameters:
y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
vLineToAbs
Creates an instance of the path elementSVGPathElement.SVGVLineTothat uses absolute coordinates.- Parameters:
y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
vLineToAbs
Creates an instance of the path elementSVGPathElement.SVGVLineTothat uses absolute coordinates.- Parameters:
y- The y coordinate for the end point of the line.- Returns:
- The new path element.
-
