Interface | Description |
---|---|
SVGNest<P extends SVGNest<?>> |
An SVG wrapper in a nested containment structure.
|
SVGWrapper |
An extended scalable vector graphic (SVG) view implemented by wrapping a single
OMNode.
|
Class | Description |
---|---|
PathSeg |
Utilities for path segments.
|
SVGParaNest<P extends SVGNest<?>> |
A nested SVG wrapper that mirrors the parentage of the wrapped SVG element.
|
When the graphic includes a stroked drawing, Firefox (16, 17) extends the box of the svg element with what appears to be a spill over buffer, enlarging it beyond what is otherwise required, e.g. in obedience to the requested height and width properties. The drawing itself is unchanged, but calculations based on the size or edge position of the svg element are likely be distorted. Originally seen with CSS selectand path.ArrowSegment, where the added buffer was 8-9 pixels wide. The workaround there was to base the edge calculations on the parent element, the box of which was unaffected by the buffer.
The transform attribute must be set on elements in lieu of the dedicated transform API, which fails under WebKit. See the thread How set the transform to SVGGElement?