Documentation
¶
Overview ¶
Package svg provides convenience methods for creating and writing SVG documents.
Index ¶
- type AElement
- func (e *AElement) AppendChildren(children ...Element) *AElement
- func (e *AElement) Download(download String) *AElement
- func (e *AElement) Href(href String) *AElement
- func (e *AElement) HrefLang(hrefLang String) *AElement
- func (e *AElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *AElement) Ping(ping String) *AElement
- func (e *AElement) ReferrerPolicy(referrerPolicy String) *AElement
- func (e *AElement) Rel(rel String) *AElement
- func (e *AElement) Target(target String) *AElement
- func (e *AElement) Type(_type String) *AElement
- type Angle
- type AngleFunc
- type AngleUnit
- type AttrValue
- type Bool
- type CharData
- type CircleElement
- func (e *CircleElement) AlignmentBaseline(alignmentBaseline String) *CircleElement
- func (e *CircleElement) AppendChildren(children ...Element) *CircleElement
- func (e *CircleElement) BaselineShift(baselineShift String) *CircleElement
- func (e *CircleElement) CX(cx Length) *CircleElement
- func (e *CircleElement) CXCY(cx, cy float64, lengthFunc LengthFunc) *CircleElement
- func (e *CircleElement) CXCYR(cx, cy, r float64, lengthFunc LengthFunc) *CircleElement
- func (e *CircleElement) CY(cy Length) *CircleElement
- func (e *CircleElement) Class(class String) *CircleElement
- func (e *CircleElement) ClipPath(clipPath String) *CircleElement
- func (e *CircleElement) ClipRule(clipRule String) *CircleElement
- func (e *CircleElement) Color(color String) *CircleElement
- func (e *CircleElement) ColorInterpolation(colorInterpolation String) *CircleElement
- func (e *CircleElement) ColorInterpolationFilters(colorInterpolationFilters String) *CircleElement
- func (e *CircleElement) ColorRendering(colorRendering String) *CircleElement
- func (e *CircleElement) Cursor(cursor String) *CircleElement
- func (e *CircleElement) Direction(direction String) *CircleElement
- func (e *CircleElement) Display(display String) *CircleElement
- func (e *CircleElement) DominantBaseline(dominantBaseline String) *CircleElement
- func (e *CircleElement) Fill(fill String) *CircleElement
- func (e *CircleElement) FillOpacity(fillOpacity Float64) *CircleElement
- func (e *CircleElement) FillRule(fillRule String) *CircleElement
- func (e *CircleElement) Filter(filter String) *CircleElement
- func (e *CircleElement) FloodColor(floodColor String) *CircleElement
- func (e *CircleElement) FloodOpacity(floodOpacity Float64) *CircleElement
- func (e *CircleElement) FontFamily(fontFamily String) *CircleElement
- func (e *CircleElement) FontSize(fontSize String) *CircleElement
- func (e *CircleElement) FontSizeAdjust(fontSizeAdjust String) *CircleElement
- func (e *CircleElement) FontStretch(fontStretch String) *CircleElement
- func (e *CircleElement) FontStyle(fontStyle String) *CircleElement
- func (e *CircleElement) FontVariant(fontVariant String) *CircleElement
- func (e *CircleElement) FontWeight(fontWeight String) *CircleElement
- func (e *CircleElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *CircleElement
- func (e *CircleElement) GlyphOrientationVertical(glyphOrientationVertical String) *CircleElement
- func (e *CircleElement) ID(id String) *CircleElement
- func (e *CircleElement) ImageRendering(imageRendering String) *CircleElement
- func (e *CircleElement) Lang(lang String) *CircleElement
- func (e *CircleElement) LetterSpacing(letterSpacing String) *CircleElement
- func (e *CircleElement) LightingColor(lightingColor String) *CircleElement
- func (e *CircleElement) MarkerEnd(markerEnd String) *CircleElement
- func (e *CircleElement) MarkerMid(markerMid String) *CircleElement
- func (e *CircleElement) MarkerStart(markerStart String) *CircleElement
- func (e *CircleElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *CircleElement) Mask(mask String) *CircleElement
- func (e *CircleElement) Opacity(opacity Float64) *CircleElement
- func (e *CircleElement) Overflow(overflow String) *CircleElement
- func (e *CircleElement) PaintOrder(paintOrder String) *CircleElement
- func (e *CircleElement) PathLength(pathLength String) *CircleElement
- func (e *CircleElement) PointerEvents(pointerEvents String) *CircleElement
- func (e *CircleElement) R(r Length) *CircleElement
- func (e *CircleElement) ShapeRendering(shapeRendering String) *CircleElement
- func (e *CircleElement) StopColor(stopColor String) *CircleElement
- func (e *CircleElement) StopOpacity(stopOpacity Float64) *CircleElement
- func (e *CircleElement) Stroke(stroke String) *CircleElement
- func (e *CircleElement) StrokeDashArray(strokeDashArray String) *CircleElement
- func (e *CircleElement) StrokeDashOffset(strokeDashOffset Float64) *CircleElement
- func (e *CircleElement) StrokeLineCap(strokeLineCap String) *CircleElement
- func (e *CircleElement) StrokeLineJoin(strokeLineJoin String) *CircleElement
- func (e *CircleElement) StrokeMiterLimit(strokeMiterLimit Float64) *CircleElement
- func (e *CircleElement) StrokeOpacity(strokeOpacity Float64) *CircleElement
- func (e *CircleElement) StrokeWidth(strokeWidth Length) *CircleElement
- func (e *CircleElement) Style(style String) *CircleElement
- func (e *CircleElement) TabIndex(tabIndex Int) *CircleElement
- func (e *CircleElement) TextAnchor(textAnchor String) *CircleElement
- func (e *CircleElement) TextDecoration(textDecoration String) *CircleElement
- func (e *CircleElement) TextOverflow(textOverflow String) *CircleElement
- func (e *CircleElement) TextRendering(textRendering String) *CircleElement
- func (e *CircleElement) UnicodeBiDi(UnicodeBiDi String) *CircleElement
- func (e *CircleElement) VectorEffect(vectorEffect String) *CircleElement
- func (e *CircleElement) Visibility(visibility String) *CircleElement
- func (e *CircleElement) WhiteSpace(whiteSpace String) *CircleElement
- func (e *CircleElement) WordSpacing(wordSpacing String) *CircleElement
- func (e *CircleElement) WritingMode(writingMode String) *CircleElement
- type ClipPathElement
- func (e *ClipPathElement) AlignmentBaseline(alignmentBaseline String) *ClipPathElement
- func (e *ClipPathElement) AppendChildren(children ...Element) *ClipPathElement
- func (e *ClipPathElement) BaselineShift(baselineShift String) *ClipPathElement
- func (e *ClipPathElement) Class(class String) *ClipPathElement
- func (e *ClipPathElement) ClipPath(clipPath String) *ClipPathElement
- func (e *ClipPathElement) ClipPathUnits(clipPathUnits String) *ClipPathElement
- func (e *ClipPathElement) ClipRule(clipRule String) *ClipPathElement
- func (e *ClipPathElement) Color(color String) *ClipPathElement
- func (e *ClipPathElement) ColorInterpolation(colorInterpolation String) *ClipPathElement
- func (e *ClipPathElement) ColorInterpolationFilters(colorInterpolationFilters String) *ClipPathElement
- func (e *ClipPathElement) ColorRendering(colorRendering String) *ClipPathElement
- func (e *ClipPathElement) Cursor(cursor String) *ClipPathElement
- func (e *ClipPathElement) Direction(direction String) *ClipPathElement
- func (e *ClipPathElement) Display(display String) *ClipPathElement
- func (e *ClipPathElement) DominantBaseline(dominantBaseline String) *ClipPathElement
- func (e *ClipPathElement) ExternalResourcesRequired(externalResourcesRequired String) *ClipPathElement
- func (e *ClipPathElement) Fill(fill String) *ClipPathElement
- func (e *ClipPathElement) FillOpacity(fillOpacity Float64) *ClipPathElement
- func (e *ClipPathElement) FillRule(fillRule String) *ClipPathElement
- func (e *ClipPathElement) Filter(filter String) *ClipPathElement
- func (e *ClipPathElement) FloodColor(floodColor String) *ClipPathElement
- func (e *ClipPathElement) FloodOpacity(floodOpacity Float64) *ClipPathElement
- func (e *ClipPathElement) FontFamily(fontFamily String) *ClipPathElement
- func (e *ClipPathElement) FontSize(fontSize String) *ClipPathElement
- func (e *ClipPathElement) FontSizeAdjust(fontSizeAdjust String) *ClipPathElement
- func (e *ClipPathElement) FontStretch(fontStretch String) *ClipPathElement
- func (e *ClipPathElement) FontStyle(fontStyle String) *ClipPathElement
- func (e *ClipPathElement) FontVariant(fontVariant String) *ClipPathElement
- func (e *ClipPathElement) FontWeight(fontWeight String) *ClipPathElement
- func (e *ClipPathElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *ClipPathElement
- func (e *ClipPathElement) GlyphOrientationVertical(glyphOrientationVertical String) *ClipPathElement
- func (e *ClipPathElement) ID(id String) *ClipPathElement
- func (e *ClipPathElement) ImageRendering(imageRendering String) *ClipPathElement
- func (e *ClipPathElement) Lang(lang String) *ClipPathElement
- func (e *ClipPathElement) LetterSpacing(letterSpacing String) *ClipPathElement
- func (e *ClipPathElement) LightingColor(lightingColor String) *ClipPathElement
- func (e *ClipPathElement) MarkerEnd(markerEnd String) *ClipPathElement
- func (e *ClipPathElement) MarkerMid(markerMid String) *ClipPathElement
- func (e *ClipPathElement) MarkerStart(markerStart String) *ClipPathElement
- func (e *ClipPathElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *ClipPathElement) Mask(mask String) *ClipPathElement
- func (e *ClipPathElement) Opacity(opacity Float64) *ClipPathElement
- func (e *ClipPathElement) Overflow(overflow String) *ClipPathElement
- func (e *ClipPathElement) PaintOrder(paintOrder String) *ClipPathElement
- func (e *ClipPathElement) PointerEvents(pointerEvents String) *ClipPathElement
- func (e *ClipPathElement) ShapeRendering(shapeRendering String) *ClipPathElement
- func (e *ClipPathElement) StopColor(stopColor String) *ClipPathElement
- func (e *ClipPathElement) StopOpacity(stopOpacity Float64) *ClipPathElement
- func (e *ClipPathElement) Stroke(stroke String) *ClipPathElement
- func (e *ClipPathElement) StrokeDashArray(strokeDashArray String) *ClipPathElement
- func (e *ClipPathElement) StrokeDashOffset(strokeDashOffset Float64) *ClipPathElement
- func (e *ClipPathElement) StrokeLineCap(strokeLineCap String) *ClipPathElement
- func (e *ClipPathElement) StrokeLineJoin(strokeLineJoin String) *ClipPathElement
- func (e *ClipPathElement) StrokeMiterLimit(strokeMiterLimit Float64) *ClipPathElement
- func (e *ClipPathElement) StrokeOpacity(strokeOpacity Float64) *ClipPathElement
- func (e *ClipPathElement) StrokeWidth(strokeWidth Length) *ClipPathElement
- func (e *ClipPathElement) Style(style String) *ClipPathElement
- func (e *ClipPathElement) TabIndex(tabIndex Int) *ClipPathElement
- func (e *ClipPathElement) TextAnchor(textAnchor String) *ClipPathElement
- func (e *ClipPathElement) TextDecoration(textDecoration String) *ClipPathElement
- func (e *ClipPathElement) TextOverflow(textOverflow String) *ClipPathElement
- func (e *ClipPathElement) TextRendering(textRendering String) *ClipPathElement
- func (e *ClipPathElement) Transform(transform String) *ClipPathElement
- func (e *ClipPathElement) UnicodeBiDi(UnicodeBiDi String) *ClipPathElement
- func (e *ClipPathElement) VectorEffect(vectorEffect String) *ClipPathElement
- func (e *ClipPathElement) Visibility(visibility String) *ClipPathElement
- func (e *ClipPathElement) WhiteSpace(whiteSpace String) *ClipPathElement
- func (e *ClipPathElement) WordSpacing(wordSpacing String) *ClipPathElement
- func (e *ClipPathElement) WritingMode(writingMode String) *ClipPathElement
- type Comment
- type DefsElement
- type DescElement
- type Element
- type EllipseElement
- func (e *EllipseElement) AlignmentBaseline(alignmentBaseline String) *EllipseElement
- func (e *EllipseElement) AppendChildren(children ...Element) *EllipseElement
- func (e *EllipseElement) BaselineShift(baselineShift String) *EllipseElement
- func (e *EllipseElement) CX(cx Length) *EllipseElement
- func (e *EllipseElement) CXCY(cx, cy float64, lengthFunc LengthFunc) *EllipseElement
- func (e *EllipseElement) CY(cy Length) *EllipseElement
- func (e *EllipseElement) Class(class String) *EllipseElement
- func (e *EllipseElement) ClipPath(clipPath String) *EllipseElement
- func (e *EllipseElement) ClipRule(clipRule String) *EllipseElement
- func (e *EllipseElement) Color(color String) *EllipseElement
- func (e *EllipseElement) ColorInterpolation(colorInterpolation String) *EllipseElement
- func (e *EllipseElement) ColorInterpolationFilters(colorInterpolationFilters String) *EllipseElement
- func (e *EllipseElement) ColorRendering(colorRendering String) *EllipseElement
- func (e *EllipseElement) Cursor(cursor String) *EllipseElement
- func (e *EllipseElement) Direction(direction String) *EllipseElement
- func (e *EllipseElement) Display(display String) *EllipseElement
- func (e *EllipseElement) DominantBaseline(dominantBaseline String) *EllipseElement
- func (e *EllipseElement) Fill(fill String) *EllipseElement
- func (e *EllipseElement) FillOpacity(fillOpacity Float64) *EllipseElement
- func (e *EllipseElement) FillRule(fillRule String) *EllipseElement
- func (e *EllipseElement) Filter(filter String) *EllipseElement
- func (e *EllipseElement) FloodColor(floodColor String) *EllipseElement
- func (e *EllipseElement) FloodOpacity(floodOpacity Float64) *EllipseElement
- func (e *EllipseElement) FontFamily(fontFamily String) *EllipseElement
- func (e *EllipseElement) FontSize(fontSize String) *EllipseElement
- func (e *EllipseElement) FontSizeAdjust(fontSizeAdjust String) *EllipseElement
- func (e *EllipseElement) FontStretch(fontStretch String) *EllipseElement
- func (e *EllipseElement) FontStyle(fontStyle String) *EllipseElement
- func (e *EllipseElement) FontVariant(fontVariant String) *EllipseElement
- func (e *EllipseElement) FontWeight(fontWeight String) *EllipseElement
- func (e *EllipseElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *EllipseElement
- func (e *EllipseElement) GlyphOrientationVertical(glyphOrientationVertical String) *EllipseElement
- func (e *EllipseElement) ID(id String) *EllipseElement
- func (e *EllipseElement) ImageRendering(imageRendering String) *EllipseElement
- func (e *EllipseElement) Lang(lang String) *EllipseElement
- func (e *EllipseElement) LetterSpacing(letterSpacing String) *EllipseElement
- func (e *EllipseElement) LightingColor(lightingColor String) *EllipseElement
- func (e *EllipseElement) MarkerEnd(markerEnd String) *EllipseElement
- func (e *EllipseElement) MarkerMid(markerMid String) *EllipseElement
- func (e *EllipseElement) MarkerStart(markerStart String) *EllipseElement
- func (e *EllipseElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *EllipseElement) Mask(mask String) *EllipseElement
- func (e *EllipseElement) Opacity(opacity Float64) *EllipseElement
- func (e *EllipseElement) Overflow(overflow String) *EllipseElement
- func (e *EllipseElement) PaintOrder(paintOrder String) *EllipseElement
- func (e *EllipseElement) PathLength(pathLength String) *EllipseElement
- func (e *EllipseElement) PointerEvents(pointerEvents String) *EllipseElement
- func (e *EllipseElement) RX(rx Length) *EllipseElement
- func (e *EllipseElement) RXRY(rx, ry float64, lengthFunc LengthFunc) *EllipseElement
- func (e *EllipseElement) RY(ry Length) *EllipseElement
- func (e *EllipseElement) ShapeRendering(shapeRendering String) *EllipseElement
- func (e *EllipseElement) StopColor(stopColor String) *EllipseElement
- func (e *EllipseElement) StopOpacity(stopOpacity Float64) *EllipseElement
- func (e *EllipseElement) Stroke(stroke String) *EllipseElement
- func (e *EllipseElement) StrokeDashArray(strokeDashArray String) *EllipseElement
- func (e *EllipseElement) StrokeDashOffset(strokeDashOffset Float64) *EllipseElement
- func (e *EllipseElement) StrokeLineCap(strokeLineCap String) *EllipseElement
- func (e *EllipseElement) StrokeLineJoin(strokeLineJoin String) *EllipseElement
- func (e *EllipseElement) StrokeMiterLimit(strokeMiterLimit Float64) *EllipseElement
- func (e *EllipseElement) StrokeOpacity(strokeOpacity Float64) *EllipseElement
- func (e *EllipseElement) StrokeWidth(strokeWidth Length) *EllipseElement
- func (e *EllipseElement) Style(style String) *EllipseElement
- func (e *EllipseElement) TabIndex(tabIndex Int) *EllipseElement
- func (e *EllipseElement) TextAnchor(textAnchor String) *EllipseElement
- func (e *EllipseElement) TextDecoration(textDecoration String) *EllipseElement
- func (e *EllipseElement) TextOverflow(textOverflow String) *EllipseElement
- func (e *EllipseElement) TextRendering(textRendering String) *EllipseElement
- func (e *EllipseElement) UnicodeBiDi(UnicodeBiDi String) *EllipseElement
- func (e *EllipseElement) VectorEffect(vectorEffect String) *EllipseElement
- func (e *EllipseElement) Visibility(visibility String) *EllipseElement
- func (e *EllipseElement) WhiteSpace(whiteSpace String) *EllipseElement
- func (e *EllipseElement) WordSpacing(wordSpacing String) *EllipseElement
- func (e *EllipseElement) WritingMode(writingMode String) *EllipseElement
- type Float64
- type ForeignObjectElement
- func (e *ForeignObjectElement) AlignmentBaseline(alignmentBaseline String) *ForeignObjectElement
- func (e *ForeignObjectElement) AppendChildren(children ...Element) *ForeignObjectElement
- func (e *ForeignObjectElement) BaselineShift(baselineShift String) *ForeignObjectElement
- func (e *ForeignObjectElement) Class(class String) *ForeignObjectElement
- func (e *ForeignObjectElement) ClipPath(clipPath String) *ForeignObjectElement
- func (e *ForeignObjectElement) ClipRule(clipRule String) *ForeignObjectElement
- func (e *ForeignObjectElement) Color(color String) *ForeignObjectElement
- func (e *ForeignObjectElement) ColorInterpolation(colorInterpolation String) *ForeignObjectElement
- func (e *ForeignObjectElement) ColorInterpolationFilters(colorInterpolationFilters String) *ForeignObjectElement
- func (e *ForeignObjectElement) ColorRendering(colorRendering String) *ForeignObjectElement
- func (e *ForeignObjectElement) Cursor(cursor String) *ForeignObjectElement
- func (e *ForeignObjectElement) Direction(direction String) *ForeignObjectElement
- func (e *ForeignObjectElement) Display(display String) *ForeignObjectElement
- func (e *ForeignObjectElement) DominantBaseline(dominantBaseline String) *ForeignObjectElement
- func (e *ForeignObjectElement) Fill(fill String) *ForeignObjectElement
- func (e *ForeignObjectElement) FillOpacity(fillOpacity Float64) *ForeignObjectElement
- func (e *ForeignObjectElement) FillRule(fillRule String) *ForeignObjectElement
- func (e *ForeignObjectElement) Filter(filter String) *ForeignObjectElement
- func (e *ForeignObjectElement) FloodColor(floodColor String) *ForeignObjectElement
- func (e *ForeignObjectElement) FloodOpacity(floodOpacity Float64) *ForeignObjectElement
- func (e *ForeignObjectElement) FontFamily(fontFamily String) *ForeignObjectElement
- func (e *ForeignObjectElement) FontSize(fontSize String) *ForeignObjectElement
- func (e *ForeignObjectElement) FontSizeAdjust(fontSizeAdjust String) *ForeignObjectElement
- func (e *ForeignObjectElement) FontStretch(fontStretch String) *ForeignObjectElement
- func (e *ForeignObjectElement) FontStyle(fontStyle String) *ForeignObjectElement
- func (e *ForeignObjectElement) FontVariant(fontVariant String) *ForeignObjectElement
- func (e *ForeignObjectElement) FontWeight(fontWeight String) *ForeignObjectElement
- func (e *ForeignObjectElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *ForeignObjectElement
- func (e *ForeignObjectElement) GlyphOrientationVertical(glyphOrientationVertical String) *ForeignObjectElement
- func (e *ForeignObjectElement) Height(height Length) *ForeignObjectElement
- func (e *ForeignObjectElement) Href(href String) *ForeignObjectElement
- func (e *ForeignObjectElement) ID(id String) *ForeignObjectElement
- func (e *ForeignObjectElement) ImageRendering(imageRendering String) *ForeignObjectElement
- func (e *ForeignObjectElement) Lang(lang String) *ForeignObjectElement
- func (e *ForeignObjectElement) LetterSpacing(letterSpacing String) *ForeignObjectElement
- func (e *ForeignObjectElement) LightingColor(lightingColor String) *ForeignObjectElement
- func (e *ForeignObjectElement) MarkerEnd(markerEnd String) *ForeignObjectElement
- func (e *ForeignObjectElement) MarkerMid(markerMid String) *ForeignObjectElement
- func (e *ForeignObjectElement) MarkerStart(markerStart String) *ForeignObjectElement
- func (e *ForeignObjectElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *ForeignObjectElement) Mask(mask String) *ForeignObjectElement
- func (e *ForeignObjectElement) Opacity(opacity Float64) *ForeignObjectElement
- func (e *ForeignObjectElement) Overflow(overflow String) *ForeignObjectElement
- func (e *ForeignObjectElement) PaintOrder(paintOrder String) *ForeignObjectElement
- func (e *ForeignObjectElement) PointerEvents(pointerEvents String) *ForeignObjectElement
- func (e *ForeignObjectElement) RequiredExtensions(requiredExtensions String) *ForeignObjectElement
- func (e *ForeignObjectElement) ShapeRendering(shapeRendering String) *ForeignObjectElement
- func (e *ForeignObjectElement) StopColor(stopColor String) *ForeignObjectElement
- func (e *ForeignObjectElement) StopOpacity(stopOpacity Float64) *ForeignObjectElement
- func (e *ForeignObjectElement) Stroke(stroke String) *ForeignObjectElement
- func (e *ForeignObjectElement) StrokeDashArray(strokeDashArray String) *ForeignObjectElement
- func (e *ForeignObjectElement) StrokeDashOffset(strokeDashOffset Float64) *ForeignObjectElement
- func (e *ForeignObjectElement) StrokeLineCap(strokeLineCap String) *ForeignObjectElement
- func (e *ForeignObjectElement) StrokeLineJoin(strokeLineJoin String) *ForeignObjectElement
- func (e *ForeignObjectElement) StrokeMiterLimit(strokeMiterLimit Float64) *ForeignObjectElement
- func (e *ForeignObjectElement) StrokeOpacity(strokeOpacity Float64) *ForeignObjectElement
- func (e *ForeignObjectElement) StrokeWidth(strokeWidth Length) *ForeignObjectElement
- func (e *ForeignObjectElement) Style(style String) *ForeignObjectElement
- func (e *ForeignObjectElement) SystemLanguage(systemLanguage String) *ForeignObjectElement
- func (e *ForeignObjectElement) TabIndex(tabIndex Int) *ForeignObjectElement
- func (e *ForeignObjectElement) TextAnchor(textAnchor String) *ForeignObjectElement
- func (e *ForeignObjectElement) TextDecoration(textDecoration String) *ForeignObjectElement
- func (e *ForeignObjectElement) TextOverflow(textOverflow String) *ForeignObjectElement
- func (e *ForeignObjectElement) TextRendering(textRendering String) *ForeignObjectElement
- func (e *ForeignObjectElement) UnicodeBiDi(UnicodeBiDi String) *ForeignObjectElement
- func (e *ForeignObjectElement) VectorEffect(vectorEffect String) *ForeignObjectElement
- func (e *ForeignObjectElement) Visibility(visibility String) *ForeignObjectElement
- func (e *ForeignObjectElement) WhiteSpace(whiteSpace String) *ForeignObjectElement
- func (e *ForeignObjectElement) Width(width Length) *ForeignObjectElement
- func (e *ForeignObjectElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *ForeignObjectElement
- func (e *ForeignObjectElement) WordSpacing(wordSpacing String) *ForeignObjectElement
- func (e *ForeignObjectElement) WritingMode(writingMode String) *ForeignObjectElement
- func (e *ForeignObjectElement) X(x Length) *ForeignObjectElement
- func (e *ForeignObjectElement) XY(x, y float64, lengthFunc LengthFunc) *ForeignObjectElement
- func (e *ForeignObjectElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *ForeignObjectElement
- func (e *ForeignObjectElement) Y(y Length) *ForeignObjectElement
- type GElement
- func (e *GElement) AlignmentBaseline(alignmentBaseline String) *GElement
- func (e *GElement) AppendChildren(children ...Element) *GElement
- func (e *GElement) BaselineShift(baselineShift String) *GElement
- func (e *GElement) Class(class String) *GElement
- func (e *GElement) ClipPath(clipPath String) *GElement
- func (e *GElement) ClipRule(clipRule String) *GElement
- func (e *GElement) Color(color String) *GElement
- func (e *GElement) ColorInterpolation(colorInterpolation String) *GElement
- func (e *GElement) ColorInterpolationFilters(colorInterpolationFilters String) *GElement
- func (e *GElement) ColorRendering(colorRendering String) *GElement
- func (e *GElement) Cursor(cursor String) *GElement
- func (e *GElement) Direction(direction String) *GElement
- func (e *GElement) Display(display String) *GElement
- func (e *GElement) DominantBaseline(dominantBaseline String) *GElement
- func (e *GElement) Fill(fill String) *GElement
- func (e *GElement) FillOpacity(fillOpacity Float64) *GElement
- func (e *GElement) FillRule(fillRule String) *GElement
- func (e *GElement) Filter(filter String) *GElement
- func (e *GElement) FloodColor(floodColor String) *GElement
- func (e *GElement) FloodOpacity(floodOpacity Float64) *GElement
- func (e *GElement) FontFamily(fontFamily String) *GElement
- func (e *GElement) FontSize(fontSize String) *GElement
- func (e *GElement) FontSizeAdjust(fontSizeAdjust String) *GElement
- func (e *GElement) FontStretch(fontStretch String) *GElement
- func (e *GElement) FontStyle(fontStyle String) *GElement
- func (e *GElement) FontVariant(fontVariant String) *GElement
- func (e *GElement) FontWeight(fontWeight String) *GElement
- func (e *GElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *GElement
- func (e *GElement) GlyphOrientationVertical(glyphOrientationVertical String) *GElement
- func (e *GElement) ID(id String) *GElement
- func (e *GElement) ImageRendering(imageRendering String) *GElement
- func (e *GElement) Lang(lang String) *GElement
- func (e *GElement) LetterSpacing(letterSpacing String) *GElement
- func (e *GElement) LightingColor(lightingColor String) *GElement
- func (e *GElement) MarkerEnd(markerEnd String) *GElement
- func (e *GElement) MarkerMid(markerMid String) *GElement
- func (e *GElement) MarkerStart(markerStart String) *GElement
- func (e *GElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *GElement) Mask(mask String) *GElement
- func (e *GElement) Opacity(opacity Float64) *GElement
- func (e *GElement) Overflow(overflow String) *GElement
- func (e *GElement) PaintOrder(paintOrder String) *GElement
- func (e *GElement) PointerEvents(pointerEvents String) *GElement
- func (e *GElement) ShapeRendering(shapeRendering String) *GElement
- func (e *GElement) StopColor(stopColor String) *GElement
- func (e *GElement) StopOpacity(stopOpacity Float64) *GElement
- func (e *GElement) Stroke(stroke String) *GElement
- func (e *GElement) StrokeDashArray(strokeDashArray String) *GElement
- func (e *GElement) StrokeDashOffset(strokeDashOffset Float64) *GElement
- func (e *GElement) StrokeLineCap(strokeLineCap String) *GElement
- func (e *GElement) StrokeLineJoin(strokeLineJoin String) *GElement
- func (e *GElement) StrokeMiterLimit(strokeMiterLimit Float64) *GElement
- func (e *GElement) StrokeOpacity(strokeOpacity Float64) *GElement
- func (e *GElement) StrokeWidth(strokeWidth Length) *GElement
- func (e *GElement) Style(style String) *GElement
- func (e *GElement) TabIndex(tabIndex Int) *GElement
- func (e *GElement) TextAnchor(textAnchor String) *GElement
- func (e *GElement) TextDecoration(textDecoration String) *GElement
- func (e *GElement) TextOverflow(textOverflow String) *GElement
- func (e *GElement) TextRendering(textRendering String) *GElement
- func (e *GElement) UnicodeBiDi(UnicodeBiDi String) *GElement
- func (e *GElement) VectorEffect(vectorEffect String) *GElement
- func (e *GElement) Visibility(visibility String) *GElement
- func (e *GElement) WhiteSpace(whiteSpace String) *GElement
- func (e *GElement) WordSpacing(wordSpacing String) *GElement
- func (e *GElement) WritingMode(writingMode String) *GElement
- type ImageElement
- func (e *ImageElement) AlignmentBaseline(alignmentBaseline String) *ImageElement
- func (e *ImageElement) BaselineShift(baselineShift String) *ImageElement
- func (e *ImageElement) Class(class String) *ImageElement
- func (e *ImageElement) ClipPath(clipPath String) *ImageElement
- func (e *ImageElement) ClipRule(clipRule String) *ImageElement
- func (e *ImageElement) Color(color String) *ImageElement
- func (e *ImageElement) ColorInterpolation(colorInterpolation String) *ImageElement
- func (e *ImageElement) ColorInterpolationFilters(colorInterpolationFilters String) *ImageElement
- func (e *ImageElement) ColorRendering(colorRendering String) *ImageElement
- func (e *ImageElement) CrossOrigin(crossOrigin String) *ImageElement
- func (e *ImageElement) Cursor(cursor String) *ImageElement
- func (e *ImageElement) Direction(direction String) *ImageElement
- func (e *ImageElement) Display(display String) *ImageElement
- func (e *ImageElement) DominantBaseline(dominantBaseline String) *ImageElement
- func (e *ImageElement) Fill(fill String) *ImageElement
- func (e *ImageElement) FillOpacity(fillOpacity Float64) *ImageElement
- func (e *ImageElement) FillRule(fillRule String) *ImageElement
- func (e *ImageElement) Filter(filter String) *ImageElement
- func (e *ImageElement) FloodColor(floodColor String) *ImageElement
- func (e *ImageElement) FloodOpacity(floodOpacity Float64) *ImageElement
- func (e *ImageElement) FontFamily(fontFamily String) *ImageElement
- func (e *ImageElement) FontSize(fontSize String) *ImageElement
- func (e *ImageElement) FontSizeAdjust(fontSizeAdjust String) *ImageElement
- func (e *ImageElement) FontStretch(fontStretch String) *ImageElement
- func (e *ImageElement) FontStyle(fontStyle String) *ImageElement
- func (e *ImageElement) FontVariant(fontVariant String) *ImageElement
- func (e *ImageElement) FontWeight(fontWeight String) *ImageElement
- func (e *ImageElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *ImageElement
- func (e *ImageElement) GlyphOrientationVertical(glyphOrientationVertical String) *ImageElement
- func (e *ImageElement) Height(height Length) *ImageElement
- func (e *ImageElement) Href(href String) *ImageElement
- func (e *ImageElement) ID(id String) *ImageElement
- func (e *ImageElement) ImageRendering(imageRendering String) *ImageElement
- func (e *ImageElement) Lang(lang String) *ImageElement
- func (e *ImageElement) LetterSpacing(letterSpacing String) *ImageElement
- func (e *ImageElement) LightingColor(lightingColor String) *ImageElement
- func (e *ImageElement) MarkerEnd(markerEnd String) *ImageElement
- func (e *ImageElement) MarkerMid(markerMid String) *ImageElement
- func (e *ImageElement) MarkerStart(markerStart String) *ImageElement
- func (e *ImageElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *ImageElement) Mask(mask String) *ImageElement
- func (e *ImageElement) Opacity(opacity Float64) *ImageElement
- func (e *ImageElement) Overflow(overflow String) *ImageElement
- func (e *ImageElement) PaintOrder(paintOrder String) *ImageElement
- func (e *ImageElement) PointerEvents(pointerEvents String) *ImageElement
- func (e *ImageElement) PreserveAspectRatio(preserveAspectRatio String) *ImageElement
- func (e *ImageElement) ShapeRendering(shapeRendering String) *ImageElement
- func (e *ImageElement) StopColor(stopColor String) *ImageElement
- func (e *ImageElement) StopOpacity(stopOpacity Float64) *ImageElement
- func (e *ImageElement) Stroke(stroke String) *ImageElement
- func (e *ImageElement) StrokeDashArray(strokeDashArray String) *ImageElement
- func (e *ImageElement) StrokeDashOffset(strokeDashOffset Float64) *ImageElement
- func (e *ImageElement) StrokeLineCap(strokeLineCap String) *ImageElement
- func (e *ImageElement) StrokeLineJoin(strokeLineJoin String) *ImageElement
- func (e *ImageElement) StrokeMiterLimit(strokeMiterLimit Float64) *ImageElement
- func (e *ImageElement) StrokeOpacity(strokeOpacity Float64) *ImageElement
- func (e *ImageElement) StrokeWidth(strokeWidth Length) *ImageElement
- func (e *ImageElement) Style(style String) *ImageElement
- func (e *ImageElement) TabIndex(tabIndex Int) *ImageElement
- func (e *ImageElement) TextAnchor(textAnchor String) *ImageElement
- func (e *ImageElement) TextDecoration(textDecoration String) *ImageElement
- func (e *ImageElement) TextOverflow(textOverflow String) *ImageElement
- func (e *ImageElement) TextRendering(textRendering String) *ImageElement
- func (e *ImageElement) UnicodeBiDi(UnicodeBiDi String) *ImageElement
- func (e *ImageElement) VectorEffect(vectorEffect String) *ImageElement
- func (e *ImageElement) Visibility(visibility String) *ImageElement
- func (e *ImageElement) WhiteSpace(whiteSpace String) *ImageElement
- func (e *ImageElement) Width(width Length) *ImageElement
- func (e *ImageElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *ImageElement
- func (e *ImageElement) WordSpacing(wordSpacing String) *ImageElement
- func (e *ImageElement) WritingMode(writingMode String) *ImageElement
- func (e *ImageElement) X(x Length) *ImageElement
- func (e *ImageElement) XY(x, y float64, lengthFunc LengthFunc) *ImageElement
- func (e *ImageElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *ImageElement
- func (e *ImageElement) Y(y Length) *ImageElement
- type Int
- type Length
- type LengthFunc
- type LengthUnit
- type LineElement
- func (e *LineElement) AlignmentBaseline(alignmentBaseline String) *LineElement
- func (e *LineElement) AppendChildren(children ...Element) *LineElement
- func (e *LineElement) BaselineShift(baselineShift String) *LineElement
- func (e *LineElement) Class(class String) *LineElement
- func (e *LineElement) ClipPath(clipPath String) *LineElement
- func (e *LineElement) ClipRule(clipRule String) *LineElement
- func (e *LineElement) Color(color String) *LineElement
- func (e *LineElement) ColorInterpolation(colorInterpolation String) *LineElement
- func (e *LineElement) ColorInterpolationFilters(colorInterpolationFilters String) *LineElement
- func (e *LineElement) ColorRendering(colorRendering String) *LineElement
- func (e *LineElement) Cursor(cursor String) *LineElement
- func (e *LineElement) Direction(direction String) *LineElement
- func (e *LineElement) Display(display String) *LineElement
- func (e *LineElement) DominantBaseline(dominantBaseline String) *LineElement
- func (e *LineElement) Fill(fill String) *LineElement
- func (e *LineElement) FillOpacity(fillOpacity Float64) *LineElement
- func (e *LineElement) FillRule(fillRule String) *LineElement
- func (e *LineElement) Filter(filter String) *LineElement
- func (e *LineElement) FloodColor(floodColor String) *LineElement
- func (e *LineElement) FloodOpacity(floodOpacity Float64) *LineElement
- func (e *LineElement) FontFamily(fontFamily String) *LineElement
- func (e *LineElement) FontSize(fontSize String) *LineElement
- func (e *LineElement) FontSizeAdjust(fontSizeAdjust String) *LineElement
- func (e *LineElement) FontStretch(fontStretch String) *LineElement
- func (e *LineElement) FontStyle(fontStyle String) *LineElement
- func (e *LineElement) FontVariant(fontVariant String) *LineElement
- func (e *LineElement) FontWeight(fontWeight String) *LineElement
- func (e *LineElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *LineElement
- func (e *LineElement) GlyphOrientationVertical(glyphOrientationVertical String) *LineElement
- func (e *LineElement) ID(id String) *LineElement
- func (e *LineElement) ImageRendering(imageRendering String) *LineElement
- func (e *LineElement) Lang(lang String) *LineElement
- func (e *LineElement) LetterSpacing(letterSpacing String) *LineElement
- func (e *LineElement) LightingColor(lightingColor String) *LineElement
- func (e *LineElement) MarkerEnd(markerEnd String) *LineElement
- func (e *LineElement) MarkerMid(markerMid String) *LineElement
- func (e *LineElement) MarkerStart(markerStart String) *LineElement
- func (e *LineElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *LineElement) Mask(mask String) *LineElement
- func (e *LineElement) Opacity(opacity Float64) *LineElement
- func (e *LineElement) Overflow(overflow String) *LineElement
- func (e *LineElement) PaintOrder(paintOrder String) *LineElement
- func (e *LineElement) PathLength(pathLength String) *LineElement
- func (e *LineElement) PointerEvents(pointerEvents String) *LineElement
- func (e *LineElement) ShapeRendering(shapeRendering String) *LineElement
- func (e *LineElement) StopColor(stopColor String) *LineElement
- func (e *LineElement) StopOpacity(stopOpacity Float64) *LineElement
- func (e *LineElement) Stroke(stroke String) *LineElement
- func (e *LineElement) StrokeDashArray(strokeDashArray String) *LineElement
- func (e *LineElement) StrokeDashOffset(strokeDashOffset Float64) *LineElement
- func (e *LineElement) StrokeLineCap(strokeLineCap String) *LineElement
- func (e *LineElement) StrokeLineJoin(strokeLineJoin String) *LineElement
- func (e *LineElement) StrokeMiterLimit(strokeMiterLimit Float64) *LineElement
- func (e *LineElement) StrokeOpacity(strokeOpacity Float64) *LineElement
- func (e *LineElement) StrokeWidth(strokeWidth Length) *LineElement
- func (e *LineElement) Style(style String) *LineElement
- func (e *LineElement) TabIndex(tabIndex Int) *LineElement
- func (e *LineElement) TextAnchor(textAnchor String) *LineElement
- func (e *LineElement) TextDecoration(textDecoration String) *LineElement
- func (e *LineElement) TextOverflow(textOverflow String) *LineElement
- func (e *LineElement) TextRendering(textRendering String) *LineElement
- func (e *LineElement) UnicodeBiDi(UnicodeBiDi String) *LineElement
- func (e *LineElement) VectorEffect(vectorEffect String) *LineElement
- func (e *LineElement) Visibility(visibility String) *LineElement
- func (e *LineElement) WhiteSpace(whiteSpace String) *LineElement
- func (e *LineElement) WordSpacing(wordSpacing String) *LineElement
- func (e *LineElement) WritingMode(writingMode String) *LineElement
- func (e *LineElement) X1(x1 String) *LineElement
- func (e *LineElement) X1Y1X2Y2(x1, y1, x2, y2 float64) *LineElement
- func (e *LineElement) X2(x2 String) *LineElement
- func (e *LineElement) Y1(y1 String) *LineElement
- func (e *LineElement) Y2(y2 String) *LineElement
- type MarkerElement
- func (e *MarkerElement) AlignmentBaseline(alignmentBaseline String) *MarkerElement
- func (e *MarkerElement) AppendChildren(children ...Element) *MarkerElement
- func (e *MarkerElement) BaselineShift(baselineShift String) *MarkerElement
- func (e *MarkerElement) Class(class String) *MarkerElement
- func (e *MarkerElement) ClipPath(clipPath String) *MarkerElement
- func (e *MarkerElement) ClipRule(clipRule String) *MarkerElement
- func (e *MarkerElement) Color(color String) *MarkerElement
- func (e *MarkerElement) ColorInterpolation(colorInterpolation String) *MarkerElement
- func (e *MarkerElement) ColorInterpolationFilters(colorInterpolationFilters String) *MarkerElement
- func (e *MarkerElement) ColorRendering(colorRendering String) *MarkerElement
- func (e *MarkerElement) Cursor(cursor String) *MarkerElement
- func (e *MarkerElement) Direction(direction String) *MarkerElement
- func (e *MarkerElement) Display(display String) *MarkerElement
- func (e *MarkerElement) DominantBaseline(dominantBaseline String) *MarkerElement
- func (e *MarkerElement) Fill(fill String) *MarkerElement
- func (e *MarkerElement) FillOpacity(fillOpacity Float64) *MarkerElement
- func (e *MarkerElement) FillRule(fillRule String) *MarkerElement
- func (e *MarkerElement) Filter(filter String) *MarkerElement
- func (e *MarkerElement) FloodColor(floodColor String) *MarkerElement
- func (e *MarkerElement) FloodOpacity(floodOpacity Float64) *MarkerElement
- func (e *MarkerElement) FontFamily(fontFamily String) *MarkerElement
- func (e *MarkerElement) FontSize(fontSize String) *MarkerElement
- func (e *MarkerElement) FontSizeAdjust(fontSizeAdjust String) *MarkerElement
- func (e *MarkerElement) FontStretch(fontStretch String) *MarkerElement
- func (e *MarkerElement) FontStyle(fontStyle String) *MarkerElement
- func (e *MarkerElement) FontVariant(fontVariant String) *MarkerElement
- func (e *MarkerElement) FontWeight(fontWeight String) *MarkerElement
- func (e *MarkerElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *MarkerElement
- func (e *MarkerElement) GlyphOrientationVertical(glyphOrientationVertical String) *MarkerElement
- func (e *MarkerElement) ID(id String) *MarkerElement
- func (e *MarkerElement) ImageRendering(imageRendering String) *MarkerElement
- func (e *MarkerElement) Lang(lang String) *MarkerElement
- func (e *MarkerElement) LetterSpacing(letterSpacing String) *MarkerElement
- func (e *MarkerElement) LightingColor(lightingColor String) *MarkerElement
- func (e *MarkerElement) MarkerEnd(markerEnd String) *MarkerElement
- func (e *MarkerElement) MarkerHeight(markerHeight Float64) *MarkerElement
- func (e *MarkerElement) MarkerMid(markerMid String) *MarkerElement
- func (e *MarkerElement) MarkerStart(markerStart String) *MarkerElement
- func (e *MarkerElement) MarkerUnits(markerUnits String) *MarkerElement
- func (e *MarkerElement) MarkerWidth(markerWidth Float64) *MarkerElement
- func (e *MarkerElement) MarkerWidthHeight(markerWidth, markerHeight float64) *MarkerElement
- func (e *MarkerElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *MarkerElement) Mask(mask String) *MarkerElement
- func (e *MarkerElement) Opacity(opacity Float64) *MarkerElement
- func (e *MarkerElement) Orient(orient String) *MarkerElement
- func (e *MarkerElement) Overflow(overflow String) *MarkerElement
- func (e *MarkerElement) PaintOrder(paintOrder String) *MarkerElement
- func (e *MarkerElement) PointerEvents(pointerEvents String) *MarkerElement
- func (e *MarkerElement) PreserveAspectRatio(preserveAspectRatio String) *MarkerElement
- func (e *MarkerElement) RefX(refX Float64) *MarkerElement
- func (e *MarkerElement) RefXY(refX, refY float64) *MarkerElement
- func (e *MarkerElement) RefY(refY Float64) *MarkerElement
- func (e *MarkerElement) ShapeRendering(shapeRendering String) *MarkerElement
- func (e *MarkerElement) StopColor(stopColor String) *MarkerElement
- func (e *MarkerElement) StopOpacity(stopOpacity Float64) *MarkerElement
- func (e *MarkerElement) Stroke(stroke String) *MarkerElement
- func (e *MarkerElement) StrokeDashArray(strokeDashArray String) *MarkerElement
- func (e *MarkerElement) StrokeDashOffset(strokeDashOffset Float64) *MarkerElement
- func (e *MarkerElement) StrokeLineCap(strokeLineCap String) *MarkerElement
- func (e *MarkerElement) StrokeLineJoin(strokeLineJoin String) *MarkerElement
- func (e *MarkerElement) StrokeMiterLimit(strokeMiterLimit Float64) *MarkerElement
- func (e *MarkerElement) StrokeOpacity(strokeOpacity Float64) *MarkerElement
- func (e *MarkerElement) StrokeWidth(strokeWidth Length) *MarkerElement
- func (e *MarkerElement) Style(style String) *MarkerElement
- func (e *MarkerElement) TabIndex(tabIndex Int) *MarkerElement
- func (e *MarkerElement) TextAnchor(textAnchor String) *MarkerElement
- func (e *MarkerElement) TextDecoration(textDecoration String) *MarkerElement
- func (e *MarkerElement) TextOverflow(textOverflow String) *MarkerElement
- func (e *MarkerElement) TextRendering(textRendering String) *MarkerElement
- func (e *MarkerElement) UnicodeBiDi(UnicodeBiDi String) *MarkerElement
- func (e *MarkerElement) VectorEffect(vectorEffect String) *MarkerElement
- func (e *MarkerElement) ViewBox(minX, minY, width, height float64) *MarkerElement
- func (e *MarkerElement) Visibility(visibility String) *MarkerElement
- func (e *MarkerElement) WhiteSpace(whiteSpace String) *MarkerElement
- func (e *MarkerElement) WordSpacing(wordSpacing String) *MarkerElement
- func (e *MarkerElement) WritingMode(writingMode String) *MarkerElement
- type MaskElement
- func (e *MaskElement) AlignmentBaseline(alignmentBaseline String) *MaskElement
- func (e *MaskElement) AppendChildren(children ...Element) *MaskElement
- func (e *MaskElement) BaselineShift(baselineShift String) *MaskElement
- func (e *MaskElement) Class(class String) *MaskElement
- func (e *MaskElement) ClipPath(clipPath String) *MaskElement
- func (e *MaskElement) ClipRule(clipRule String) *MaskElement
- func (e *MaskElement) Color(color String) *MaskElement
- func (e *MaskElement) ColorInterpolation(colorInterpolation String) *MaskElement
- func (e *MaskElement) ColorInterpolationFilters(colorInterpolationFilters String) *MaskElement
- func (e *MaskElement) ColorRendering(colorRendering String) *MaskElement
- func (e *MaskElement) Cursor(cursor String) *MaskElement
- func (e *MaskElement) Direction(direction String) *MaskElement
- func (e *MaskElement) Display(display String) *MaskElement
- func (e *MaskElement) DominantBaseline(dominantBaseline String) *MaskElement
- func (e *MaskElement) Fill(fill String) *MaskElement
- func (e *MaskElement) FillOpacity(fillOpacity Float64) *MaskElement
- func (e *MaskElement) FillRule(fillRule String) *MaskElement
- func (e *MaskElement) Filter(filter String) *MaskElement
- func (e *MaskElement) FloodColor(floodColor String) *MaskElement
- func (e *MaskElement) FloodOpacity(floodOpacity Float64) *MaskElement
- func (e *MaskElement) FontFamily(fontFamily String) *MaskElement
- func (e *MaskElement) FontSize(fontSize String) *MaskElement
- func (e *MaskElement) FontSizeAdjust(fontSizeAdjust String) *MaskElement
- func (e *MaskElement) FontStretch(fontStretch String) *MaskElement
- func (e *MaskElement) FontStyle(fontStyle String) *MaskElement
- func (e *MaskElement) FontVariant(fontVariant String) *MaskElement
- func (e *MaskElement) FontWeight(fontWeight String) *MaskElement
- func (e *MaskElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *MaskElement
- func (e *MaskElement) GlyphOrientationVertical(glyphOrientationVertical String) *MaskElement
- func (e *MaskElement) Height(height Length) *MaskElement
- func (e *MaskElement) ID(id String) *MaskElement
- func (e *MaskElement) ImageRendering(imageRendering String) *MaskElement
- func (e *MaskElement) Lang(lang String) *MaskElement
- func (e *MaskElement) LetterSpacing(letterSpacing String) *MaskElement
- func (e *MaskElement) LightingColor(lightingColor String) *MaskElement
- func (e *MaskElement) MarkerEnd(markerEnd String) *MaskElement
- func (e *MaskElement) MarkerMid(markerMid String) *MaskElement
- func (e *MaskElement) MarkerStart(markerStart String) *MaskElement
- func (e *MaskElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *MaskElement) Mask(mask String) *MaskElement
- func (e *MaskElement) MaskContentUnits(maskContentUnits String) *MaskElement
- func (e *MaskElement) MaskUnits(maskUnits String) *MaskElement
- func (e *MaskElement) Opacity(opacity Float64) *MaskElement
- func (e *MaskElement) Overflow(overflow String) *MaskElement
- func (e *MaskElement) PaintOrder(paintOrder String) *MaskElement
- func (e *MaskElement) PointerEvents(pointerEvents String) *MaskElement
- func (e *MaskElement) ShapeRendering(shapeRendering String) *MaskElement
- func (e *MaskElement) StopColor(stopColor String) *MaskElement
- func (e *MaskElement) StopOpacity(stopOpacity Float64) *MaskElement
- func (e *MaskElement) Stroke(stroke String) *MaskElement
- func (e *MaskElement) StrokeDashArray(strokeDashArray String) *MaskElement
- func (e *MaskElement) StrokeDashOffset(strokeDashOffset Float64) *MaskElement
- func (e *MaskElement) StrokeLineCap(strokeLineCap String) *MaskElement
- func (e *MaskElement) StrokeLineJoin(strokeLineJoin String) *MaskElement
- func (e *MaskElement) StrokeMiterLimit(strokeMiterLimit Float64) *MaskElement
- func (e *MaskElement) StrokeOpacity(strokeOpacity Float64) *MaskElement
- func (e *MaskElement) StrokeWidth(strokeWidth Length) *MaskElement
- func (e *MaskElement) Style(style String) *MaskElement
- func (e *MaskElement) TabIndex(tabIndex Int) *MaskElement
- func (e *MaskElement) TextAnchor(textAnchor String) *MaskElement
- func (e *MaskElement) TextDecoration(textDecoration String) *MaskElement
- func (e *MaskElement) TextOverflow(textOverflow String) *MaskElement
- func (e *MaskElement) TextRendering(textRendering String) *MaskElement
- func (e *MaskElement) UnicodeBiDi(UnicodeBiDi String) *MaskElement
- func (e *MaskElement) VectorEffect(vectorEffect String) *MaskElement
- func (e *MaskElement) Visibility(visibility String) *MaskElement
- func (e *MaskElement) WhiteSpace(whiteSpace String) *MaskElement
- func (e *MaskElement) Width(width Length) *MaskElement
- func (e *MaskElement) WordSpacing(wordSpacing String) *MaskElement
- func (e *MaskElement) WritingMode(writingMode String) *MaskElement
- func (e *MaskElement) X(x Length) *MaskElement
- func (e *MaskElement) Y(y Length) *MaskElement
- type PathElement
- func (e *PathElement) AlignmentBaseline(alignmentBaseline String) *PathElement
- func (e *PathElement) BaselineShift(baselineShift String) *PathElement
- func (e *PathElement) Class(class String) *PathElement
- func (e *PathElement) ClipPath(clipPath String) *PathElement
- func (e *PathElement) ClipRule(clipRule String) *PathElement
- func (e *PathElement) Color(color String) *PathElement
- func (e *PathElement) ColorInterpolation(colorInterpolation String) *PathElement
- func (e *PathElement) ColorInterpolationFilters(colorInterpolationFilters String) *PathElement
- func (e *PathElement) ColorRendering(colorRendering String) *PathElement
- func (e *PathElement) Cursor(cursor String) *PathElement
- func (e *PathElement) D(d AttrValue) *PathElement
- func (e *PathElement) Direction(direction String) *PathElement
- func (e *PathElement) Display(display String) *PathElement
- func (e *PathElement) DominantBaseline(dominantBaseline String) *PathElement
- func (e *PathElement) Fill(fill String) *PathElement
- func (e *PathElement) FillOpacity(fillOpacity Float64) *PathElement
- func (e *PathElement) FillRule(fillRule String) *PathElement
- func (e *PathElement) Filter(filter String) *PathElement
- func (e *PathElement) FloodColor(floodColor String) *PathElement
- func (e *PathElement) FloodOpacity(floodOpacity Float64) *PathElement
- func (e *PathElement) FontFamily(fontFamily String) *PathElement
- func (e *PathElement) FontSize(fontSize String) *PathElement
- func (e *PathElement) FontSizeAdjust(fontSizeAdjust String) *PathElement
- func (e *PathElement) FontStretch(fontStretch String) *PathElement
- func (e *PathElement) FontStyle(fontStyle String) *PathElement
- func (e *PathElement) FontVariant(fontVariant String) *PathElement
- func (e *PathElement) FontWeight(fontWeight String) *PathElement
- func (e *PathElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *PathElement
- func (e *PathElement) GlyphOrientationVertical(glyphOrientationVertical String) *PathElement
- func (e *PathElement) ID(id String) *PathElement
- func (e *PathElement) ImageRendering(imageRendering String) *PathElement
- func (e *PathElement) Lang(lang String) *PathElement
- func (e *PathElement) LetterSpacing(letterSpacing String) *PathElement
- func (e *PathElement) LightingColor(lightingColor String) *PathElement
- func (e *PathElement) MarkerEnd(markerEnd String) *PathElement
- func (e *PathElement) MarkerMid(markerMid String) *PathElement
- func (e *PathElement) MarkerStart(markerStart String) *PathElement
- func (e *PathElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *PathElement) Mask(mask String) *PathElement
- func (e *PathElement) Opacity(opacity Float64) *PathElement
- func (e *PathElement) Overflow(overflow String) *PathElement
- func (e *PathElement) PaintOrder(paintOrder String) *PathElement
- func (e *PathElement) PointerEvents(pointerEvents String) *PathElement
- func (e *PathElement) ShapeRendering(shapeRendering String) *PathElement
- func (e *PathElement) StopColor(stopColor String) *PathElement
- func (e *PathElement) StopOpacity(stopOpacity Float64) *PathElement
- func (e *PathElement) Stroke(stroke String) *PathElement
- func (e *PathElement) StrokeDashArray(strokeDashArray String) *PathElement
- func (e *PathElement) StrokeDashOffset(strokeDashOffset Float64) *PathElement
- func (e *PathElement) StrokeLineCap(strokeLineCap String) *PathElement
- func (e *PathElement) StrokeLineJoin(strokeLineJoin String) *PathElement
- func (e *PathElement) StrokeMiterLimit(strokeMiterLimit Float64) *PathElement
- func (e *PathElement) StrokeOpacity(strokeOpacity Float64) *PathElement
- func (e *PathElement) StrokeWidth(strokeWidth Length) *PathElement
- func (e *PathElement) Style(style String) *PathElement
- func (e *PathElement) TabIndex(tabIndex Int) *PathElement
- func (e *PathElement) TextAnchor(textAnchor String) *PathElement
- func (e *PathElement) TextDecoration(textDecoration String) *PathElement
- func (e *PathElement) TextOverflow(textOverflow String) *PathElement
- func (e *PathElement) TextRendering(textRendering String) *PathElement
- func (e *PathElement) UnicodeBiDi(UnicodeBiDi String) *PathElement
- func (e *PathElement) VectorEffect(vectorEffect String) *PathElement
- func (e *PathElement) Visibility(visibility String) *PathElement
- func (e *PathElement) WhiteSpace(whiteSpace String) *PathElement
- func (e *PathElement) WordSpacing(wordSpacing String) *PathElement
- func (e *PathElement) WritingMode(writingMode String) *PathElement
- type PatternElement
- func (e *PatternElement) AlignmentBaseline(alignmentBaseline String) *PatternElement
- func (e *PatternElement) AppendChildren(children ...Element) *PatternElement
- func (e *PatternElement) BaselineShift(baselineShift String) *PatternElement
- func (e *PatternElement) Class(class String) *PatternElement
- func (e *PatternElement) ClipPath(clipPath String) *PatternElement
- func (e *PatternElement) ClipRule(clipRule String) *PatternElement
- func (e *PatternElement) Color(color String) *PatternElement
- func (e *PatternElement) ColorInterpolation(colorInterpolation String) *PatternElement
- func (e *PatternElement) ColorInterpolationFilters(colorInterpolationFilters String) *PatternElement
- func (e *PatternElement) ColorRendering(colorRendering String) *PatternElement
- func (e *PatternElement) Cursor(cursor String) *PatternElement
- func (e *PatternElement) Direction(direction String) *PatternElement
- func (e *PatternElement) Display(display String) *PatternElement
- func (e *PatternElement) DominantBaseline(dominantBaseline String) *PatternElement
- func (e *PatternElement) Fill(fill String) *PatternElement
- func (e *PatternElement) FillOpacity(fillOpacity Float64) *PatternElement
- func (e *PatternElement) FillRule(fillRule String) *PatternElement
- func (e *PatternElement) Filter(filter String) *PatternElement
- func (e *PatternElement) FloodColor(floodColor String) *PatternElement
- func (e *PatternElement) FloodOpacity(floodOpacity Float64) *PatternElement
- func (e *PatternElement) FontFamily(fontFamily String) *PatternElement
- func (e *PatternElement) FontSize(fontSize String) *PatternElement
- func (e *PatternElement) FontSizeAdjust(fontSizeAdjust String) *PatternElement
- func (e *PatternElement) FontStretch(fontStretch String) *PatternElement
- func (e *PatternElement) FontStyle(fontStyle String) *PatternElement
- func (e *PatternElement) FontVariant(fontVariant String) *PatternElement
- func (e *PatternElement) FontWeight(fontWeight String) *PatternElement
- func (e *PatternElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *PatternElement
- func (e *PatternElement) GlyphOrientationVertical(glyphOrientationVertical String) *PatternElement
- func (e *PatternElement) Height(height Length) *PatternElement
- func (e *PatternElement) Href(href String) *PatternElement
- func (e *PatternElement) ID(id String) *PatternElement
- func (e *PatternElement) ImageRendering(imageRendering String) *PatternElement
- func (e *PatternElement) Lang(lang String) *PatternElement
- func (e *PatternElement) LetterSpacing(letterSpacing String) *PatternElement
- func (e *PatternElement) LightingColor(lightingColor String) *PatternElement
- func (e *PatternElement) MarkerEnd(markerEnd String) *PatternElement
- func (e *PatternElement) MarkerMid(markerMid String) *PatternElement
- func (e *PatternElement) MarkerStart(markerStart String) *PatternElement
- func (e *PatternElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *PatternElement) Mask(mask String) *PatternElement
- func (e *PatternElement) Opacity(opacity Float64) *PatternElement
- func (e *PatternElement) Overflow(overflow String) *PatternElement
- func (e *PatternElement) PaintOrder(paintOrder String) *PatternElement
- func (e *PatternElement) PatternContentUnits(patternContentUnits String) *PatternElement
- func (e *PatternElement) PatternTransform(patternTransform String) *PatternElement
- func (e *PatternElement) PatternUnits(patternUnits String) *PatternElement
- func (e *PatternElement) PointerEvents(pointerEvents String) *PatternElement
- func (e *PatternElement) PreserveAspectRatio(preserveAspectRatio String) *PatternElement
- func (e *PatternElement) ShapeRendering(shapeRendering String) *PatternElement
- func (e *PatternElement) StopColor(stopColor String) *PatternElement
- func (e *PatternElement) StopOpacity(stopOpacity Float64) *PatternElement
- func (e *PatternElement) Stroke(stroke String) *PatternElement
- func (e *PatternElement) StrokeDashArray(strokeDashArray String) *PatternElement
- func (e *PatternElement) StrokeDashOffset(strokeDashOffset Float64) *PatternElement
- func (e *PatternElement) StrokeLineCap(strokeLineCap String) *PatternElement
- func (e *PatternElement) StrokeLineJoin(strokeLineJoin String) *PatternElement
- func (e *PatternElement) StrokeMiterLimit(strokeMiterLimit Float64) *PatternElement
- func (e *PatternElement) StrokeOpacity(strokeOpacity Float64) *PatternElement
- func (e *PatternElement) StrokeWidth(strokeWidth Length) *PatternElement
- func (e *PatternElement) Style(style String) *PatternElement
- func (e *PatternElement) TabIndex(tabIndex Int) *PatternElement
- func (e *PatternElement) TextAnchor(textAnchor String) *PatternElement
- func (e *PatternElement) TextDecoration(textDecoration String) *PatternElement
- func (e *PatternElement) TextOverflow(textOverflow String) *PatternElement
- func (e *PatternElement) TextRendering(textRendering String) *PatternElement
- func (e *PatternElement) UnicodeBiDi(UnicodeBiDi String) *PatternElement
- func (e *PatternElement) VectorEffect(vectorEffect String) *PatternElement
- func (e *PatternElement) ViewBox(minX, minY, width, height float64) *PatternElement
- func (e *PatternElement) Visibility(visibility String) *PatternElement
- func (e *PatternElement) WhiteSpace(whiteSpace String) *PatternElement
- func (e *PatternElement) Width(width Length) *PatternElement
- func (e *PatternElement) WordSpacing(wordSpacing String) *PatternElement
- func (e *PatternElement) WritingMode(writingMode String) *PatternElement
- func (e *PatternElement) X(x Length) *PatternElement
- func (e *PatternElement) Y(y Length) *PatternElement
- type Points
- type PolygonElement
- func (e *PolygonElement) AlignmentBaseline(alignmentBaseline String) *PolygonElement
- func (e *PolygonElement) AppendChildren(children ...Element) *PolygonElement
- func (e *PolygonElement) BaselineShift(baselineShift String) *PolygonElement
- func (e *PolygonElement) Class(class String) *PolygonElement
- func (e *PolygonElement) ClipPath(clipPath String) *PolygonElement
- func (e *PolygonElement) ClipRule(clipRule String) *PolygonElement
- func (e *PolygonElement) Color(color String) *PolygonElement
- func (e *PolygonElement) ColorInterpolation(colorInterpolation String) *PolygonElement
- func (e *PolygonElement) ColorInterpolationFilters(colorInterpolationFilters String) *PolygonElement
- func (e *PolygonElement) ColorRendering(colorRendering String) *PolygonElement
- func (e *PolygonElement) Cursor(cursor String) *PolygonElement
- func (e *PolygonElement) Direction(direction String) *PolygonElement
- func (e *PolygonElement) Display(display String) *PolygonElement
- func (e *PolygonElement) DominantBaseline(dominantBaseline String) *PolygonElement
- func (e *PolygonElement) Fill(fill String) *PolygonElement
- func (e *PolygonElement) FillOpacity(fillOpacity Float64) *PolygonElement
- func (e *PolygonElement) FillRule(fillRule String) *PolygonElement
- func (e *PolygonElement) Filter(filter String) *PolygonElement
- func (e *PolygonElement) FloodColor(floodColor String) *PolygonElement
- func (e *PolygonElement) FloodOpacity(floodOpacity Float64) *PolygonElement
- func (e *PolygonElement) FontFamily(fontFamily String) *PolygonElement
- func (e *PolygonElement) FontSize(fontSize String) *PolygonElement
- func (e *PolygonElement) FontSizeAdjust(fontSizeAdjust String) *PolygonElement
- func (e *PolygonElement) FontStretch(fontStretch String) *PolygonElement
- func (e *PolygonElement) FontStyle(fontStyle String) *PolygonElement
- func (e *PolygonElement) FontVariant(fontVariant String) *PolygonElement
- func (e *PolygonElement) FontWeight(fontWeight String) *PolygonElement
- func (e *PolygonElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *PolygonElement
- func (e *PolygonElement) GlyphOrientationVertical(glyphOrientationVertical String) *PolygonElement
- func (e *PolygonElement) ID(id String) *PolygonElement
- func (e *PolygonElement) ImageRendering(imageRendering String) *PolygonElement
- func (e *PolygonElement) Lang(lang String) *PolygonElement
- func (e *PolygonElement) LetterSpacing(letterSpacing String) *PolygonElement
- func (e *PolygonElement) LightingColor(lightingColor String) *PolygonElement
- func (e *PolygonElement) MarkerEnd(markerEnd String) *PolygonElement
- func (e *PolygonElement) MarkerMid(markerMid String) *PolygonElement
- func (e *PolygonElement) MarkerStart(markerStart String) *PolygonElement
- func (e *PolygonElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *PolygonElement) Mask(mask String) *PolygonElement
- func (e *PolygonElement) Opacity(opacity Float64) *PolygonElement
- func (e *PolygonElement) Overflow(overflow String) *PolygonElement
- func (e *PolygonElement) PaintOrder(paintOrder String) *PolygonElement
- func (e *PolygonElement) PathLength(pathLength String) *PolygonElement
- func (e *PolygonElement) PointerEvents(pointerEvents String) *PolygonElement
- func (e *PolygonElement) Points(points Points) *PolygonElement
- func (e *PolygonElement) ShapeRendering(shapeRendering String) *PolygonElement
- func (e *PolygonElement) StopColor(stopColor String) *PolygonElement
- func (e *PolygonElement) StopOpacity(stopOpacity Float64) *PolygonElement
- func (e *PolygonElement) Stroke(stroke String) *PolygonElement
- func (e *PolygonElement) StrokeDashArray(strokeDashArray String) *PolygonElement
- func (e *PolygonElement) StrokeDashOffset(strokeDashOffset Float64) *PolygonElement
- func (e *PolygonElement) StrokeLineCap(strokeLineCap String) *PolygonElement
- func (e *PolygonElement) StrokeLineJoin(strokeLineJoin String) *PolygonElement
- func (e *PolygonElement) StrokeMiterLimit(strokeMiterLimit Float64) *PolygonElement
- func (e *PolygonElement) StrokeOpacity(strokeOpacity Float64) *PolygonElement
- func (e *PolygonElement) StrokeWidth(strokeWidth Length) *PolygonElement
- func (e *PolygonElement) Style(style String) *PolygonElement
- func (e *PolygonElement) TabIndex(tabIndex Int) *PolygonElement
- func (e *PolygonElement) TextAnchor(textAnchor String) *PolygonElement
- func (e *PolygonElement) TextDecoration(textDecoration String) *PolygonElement
- func (e *PolygonElement) TextOverflow(textOverflow String) *PolygonElement
- func (e *PolygonElement) TextRendering(textRendering String) *PolygonElement
- func (e *PolygonElement) UnicodeBiDi(UnicodeBiDi String) *PolygonElement
- func (e *PolygonElement) VectorEffect(vectorEffect String) *PolygonElement
- func (e *PolygonElement) Visibility(visibility String) *PolygonElement
- func (e *PolygonElement) WhiteSpace(whiteSpace String) *PolygonElement
- func (e *PolygonElement) WordSpacing(wordSpacing String) *PolygonElement
- func (e *PolygonElement) WritingMode(writingMode String) *PolygonElement
- type PolylineElement
- func (e *PolylineElement) AlignmentBaseline(alignmentBaseline String) *PolylineElement
- func (e *PolylineElement) AppendChildren(children ...Element) *PolylineElement
- func (e *PolylineElement) BaselineShift(baselineShift String) *PolylineElement
- func (e *PolylineElement) Class(class String) *PolylineElement
- func (e *PolylineElement) ClipPath(clipPath String) *PolylineElement
- func (e *PolylineElement) ClipRule(clipRule String) *PolylineElement
- func (e *PolylineElement) Color(color String) *PolylineElement
- func (e *PolylineElement) ColorInterpolation(colorInterpolation String) *PolylineElement
- func (e *PolylineElement) ColorInterpolationFilters(colorInterpolationFilters String) *PolylineElement
- func (e *PolylineElement) ColorRendering(colorRendering String) *PolylineElement
- func (e *PolylineElement) Cursor(cursor String) *PolylineElement
- func (e *PolylineElement) Direction(direction String) *PolylineElement
- func (e *PolylineElement) Display(display String) *PolylineElement
- func (e *PolylineElement) DominantBaseline(dominantBaseline String) *PolylineElement
- func (e *PolylineElement) Fill(fill String) *PolylineElement
- func (e *PolylineElement) FillOpacity(fillOpacity Float64) *PolylineElement
- func (e *PolylineElement) FillRule(fillRule String) *PolylineElement
- func (e *PolylineElement) Filter(filter String) *PolylineElement
- func (e *PolylineElement) FloodColor(floodColor String) *PolylineElement
- func (e *PolylineElement) FloodOpacity(floodOpacity Float64) *PolylineElement
- func (e *PolylineElement) FontFamily(fontFamily String) *PolylineElement
- func (e *PolylineElement) FontSize(fontSize String) *PolylineElement
- func (e *PolylineElement) FontSizeAdjust(fontSizeAdjust String) *PolylineElement
- func (e *PolylineElement) FontStretch(fontStretch String) *PolylineElement
- func (e *PolylineElement) FontStyle(fontStyle String) *PolylineElement
- func (e *PolylineElement) FontVariant(fontVariant String) *PolylineElement
- func (e *PolylineElement) FontWeight(fontWeight String) *PolylineElement
- func (e *PolylineElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *PolylineElement
- func (e *PolylineElement) GlyphOrientationVertical(glyphOrientationVertical String) *PolylineElement
- func (e *PolylineElement) ID(id String) *PolylineElement
- func (e *PolylineElement) ImageRendering(imageRendering String) *PolylineElement
- func (e *PolylineElement) Lang(lang String) *PolylineElement
- func (e *PolylineElement) LetterSpacing(letterSpacing String) *PolylineElement
- func (e *PolylineElement) LightingColor(lightingColor String) *PolylineElement
- func (e *PolylineElement) MarkerEnd(markerEnd String) *PolylineElement
- func (e *PolylineElement) MarkerMid(markerMid String) *PolylineElement
- func (e *PolylineElement) MarkerStart(markerStart String) *PolylineElement
- func (e *PolylineElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *PolylineElement) Mask(mask String) *PolylineElement
- func (e *PolylineElement) Opacity(opacity Float64) *PolylineElement
- func (e *PolylineElement) Overflow(overflow String) *PolylineElement
- func (e *PolylineElement) PaintOrder(paintOrder String) *PolylineElement
- func (e *PolylineElement) PathLength(pathLength String) *PolylineElement
- func (e *PolylineElement) PointerEvents(pointerEvents String) *PolylineElement
- func (e *PolylineElement) Points(points Points) *PolylineElement
- func (e *PolylineElement) ShapeRendering(shapeRendering String) *PolylineElement
- func (e *PolylineElement) StopColor(stopColor String) *PolylineElement
- func (e *PolylineElement) StopOpacity(stopOpacity Float64) *PolylineElement
- func (e *PolylineElement) Stroke(stroke String) *PolylineElement
- func (e *PolylineElement) StrokeDashArray(strokeDashArray String) *PolylineElement
- func (e *PolylineElement) StrokeDashOffset(strokeDashOffset Float64) *PolylineElement
- func (e *PolylineElement) StrokeLineCap(strokeLineCap String) *PolylineElement
- func (e *PolylineElement) StrokeLineJoin(strokeLineJoin String) *PolylineElement
- func (e *PolylineElement) StrokeMiterLimit(strokeMiterLimit Float64) *PolylineElement
- func (e *PolylineElement) StrokeOpacity(strokeOpacity Float64) *PolylineElement
- func (e *PolylineElement) StrokeWidth(strokeWidth Length) *PolylineElement
- func (e *PolylineElement) Style(style String) *PolylineElement
- func (e *PolylineElement) TabIndex(tabIndex Int) *PolylineElement
- func (e *PolylineElement) TextAnchor(textAnchor String) *PolylineElement
- func (e *PolylineElement) TextDecoration(textDecoration String) *PolylineElement
- func (e *PolylineElement) TextOverflow(textOverflow String) *PolylineElement
- func (e *PolylineElement) TextRendering(textRendering String) *PolylineElement
- func (e *PolylineElement) UnicodeBiDi(UnicodeBiDi String) *PolylineElement
- func (e *PolylineElement) VectorEffect(vectorEffect String) *PolylineElement
- func (e *PolylineElement) Visibility(visibility String) *PolylineElement
- func (e *PolylineElement) WhiteSpace(whiteSpace String) *PolylineElement
- func (e *PolylineElement) WordSpacing(wordSpacing String) *PolylineElement
- func (e *PolylineElement) WritingMode(writingMode String) *PolylineElement
- type RectElement
- func (e *RectElement) AlignmentBaseline(alignmentBaseline String) *RectElement
- func (e *RectElement) AppendChildren(children ...Element) *RectElement
- func (e *RectElement) BaselineShift(baselineShift String) *RectElement
- func (e *RectElement) Class(class String) *RectElement
- func (e *RectElement) ClipPath(clipPath String) *RectElement
- func (e *RectElement) ClipRule(clipRule String) *RectElement
- func (e *RectElement) Color(color String) *RectElement
- func (e *RectElement) ColorInterpolation(colorInterpolation String) *RectElement
- func (e *RectElement) ColorInterpolationFilters(colorInterpolationFilters String) *RectElement
- func (e *RectElement) ColorRendering(colorRendering String) *RectElement
- func (e *RectElement) Cursor(cursor String) *RectElement
- func (e *RectElement) Direction(direction String) *RectElement
- func (e *RectElement) Display(display String) *RectElement
- func (e *RectElement) DominantBaseline(dominantBaseline String) *RectElement
- func (e *RectElement) Fill(fill String) *RectElement
- func (e *RectElement) FillOpacity(fillOpacity Float64) *RectElement
- func (e *RectElement) FillRule(fillRule String) *RectElement
- func (e *RectElement) Filter(filter String) *RectElement
- func (e *RectElement) FloodColor(floodColor String) *RectElement
- func (e *RectElement) FloodOpacity(floodOpacity Float64) *RectElement
- func (e *RectElement) FontFamily(fontFamily String) *RectElement
- func (e *RectElement) FontSize(fontSize String) *RectElement
- func (e *RectElement) FontSizeAdjust(fontSizeAdjust String) *RectElement
- func (e *RectElement) FontStretch(fontStretch String) *RectElement
- func (e *RectElement) FontStyle(fontStyle String) *RectElement
- func (e *RectElement) FontVariant(fontVariant String) *RectElement
- func (e *RectElement) FontWeight(fontWeight String) *RectElement
- func (e *RectElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *RectElement
- func (e *RectElement) GlyphOrientationVertical(glyphOrientationVertical String) *RectElement
- func (e *RectElement) Height(height Length) *RectElement
- func (e *RectElement) ID(id String) *RectElement
- func (e *RectElement) ImageRendering(imageRendering String) *RectElement
- func (e *RectElement) Lang(lang String) *RectElement
- func (e *RectElement) LetterSpacing(letterSpacing String) *RectElement
- func (e *RectElement) LightingColor(lightingColor String) *RectElement
- func (e *RectElement) MarkerEnd(markerEnd String) *RectElement
- func (e *RectElement) MarkerMid(markerMid String) *RectElement
- func (e *RectElement) MarkerStart(markerStart String) *RectElement
- func (e *RectElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *RectElement) Mask(mask String) *RectElement
- func (e *RectElement) Opacity(opacity Float64) *RectElement
- func (e *RectElement) Overflow(overflow String) *RectElement
- func (e *RectElement) PaintOrder(paintOrder String) *RectElement
- func (e *RectElement) PathLength(pathLength String) *RectElement
- func (e *RectElement) PointerEvents(pointerEvents String) *RectElement
- func (e *RectElement) RX(rx Length) *RectElement
- func (e *RectElement) RXRY(rx, ry float64, lengthFunc LengthFunc) *RectElement
- func (e *RectElement) RY(ry Length) *RectElement
- func (e *RectElement) ShapeRendering(shapeRendering String) *RectElement
- func (e *RectElement) StopColor(stopColor String) *RectElement
- func (e *RectElement) StopOpacity(stopOpacity Float64) *RectElement
- func (e *RectElement) Stroke(stroke String) *RectElement
- func (e *RectElement) StrokeDashArray(strokeDashArray String) *RectElement
- func (e *RectElement) StrokeDashOffset(strokeDashOffset Float64) *RectElement
- func (e *RectElement) StrokeLineCap(strokeLineCap String) *RectElement
- func (e *RectElement) StrokeLineJoin(strokeLineJoin String) *RectElement
- func (e *RectElement) StrokeMiterLimit(strokeMiterLimit Float64) *RectElement
- func (e *RectElement) StrokeOpacity(strokeOpacity Float64) *RectElement
- func (e *RectElement) StrokeWidth(strokeWidth Length) *RectElement
- func (e *RectElement) Style(style String) *RectElement
- func (e *RectElement) TabIndex(tabIndex Int) *RectElement
- func (e *RectElement) TextAnchor(textAnchor String) *RectElement
- func (e *RectElement) TextDecoration(textDecoration String) *RectElement
- func (e *RectElement) TextOverflow(textOverflow String) *RectElement
- func (e *RectElement) TextRendering(textRendering String) *RectElement
- func (e *RectElement) UnicodeBiDi(UnicodeBiDi String) *RectElement
- func (e *RectElement) VectorEffect(vectorEffect String) *RectElement
- func (e *RectElement) Visibility(visibility String) *RectElement
- func (e *RectElement) WhiteSpace(whiteSpace String) *RectElement
- func (e *RectElement) Width(width Length) *RectElement
- func (e *RectElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *RectElement
- func (e *RectElement) WordSpacing(wordSpacing String) *RectElement
- func (e *RectElement) WritingMode(writingMode String) *RectElement
- func (e *RectElement) X(x Length) *RectElement
- func (e *RectElement) XY(x, y float64, lengthFunc LengthFunc) *RectElement
- func (e *RectElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *RectElement
- func (e *RectElement) Y(y Length) *RectElement
- type SVGElement
- func (e *SVGElement) AppendChildren(children ...Element) *SVGElement
- func (e *SVGElement) Height(height Length) *SVGElement
- func (e *SVGElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *SVGElement) PreserveAspectRatio(preserveAspectRatio String) *SVGElement
- func (e *SVGElement) String() string
- func (e *SVGElement) Transform(transform String) *SVGElement
- func (e *SVGElement) Version(version String) *SVGElement
- func (e *SVGElement) ViewBox(minX, minY, width, height float64) *SVGElement
- func (e *SVGElement) Width(width Length) *SVGElement
- func (e *SVGElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *SVGElement
- func (e *SVGElement) WriteTo(w io.Writer) (int64, error)
- func (e *SVGElement) WriteToIndent(w io.Writer, prefix, indent string) (int64, error)
- func (e *SVGElement) X(x Length) *SVGElement
- func (e *SVGElement) XMLNS(xmlns String) *SVGElement
- func (e *SVGElement) XY(x, y float64, lengthFunc LengthFunc) *SVGElement
- func (e *SVGElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *SVGElement
- func (e *SVGElement) Y(y Length) *SVGElement
- func (e *SVGElement) ZoomAndPan(zoomAndPan String) *SVGElement
- type String
- type StyleElement
- type SwitchElement
- func (e *SwitchElement) AlignmentBaseline(alignmentBaseline String) *SwitchElement
- func (e *SwitchElement) AppendChildren(children ...Element) *SwitchElement
- func (e *SwitchElement) BaselineShift(baselineShift String) *SwitchElement
- func (e *SwitchElement) Class(class String) *SwitchElement
- func (e *SwitchElement) ClipPath(clipPath String) *SwitchElement
- func (e *SwitchElement) ClipRule(clipRule String) *SwitchElement
- func (e *SwitchElement) Color(color String) *SwitchElement
- func (e *SwitchElement) ColorInterpolation(colorInterpolation String) *SwitchElement
- func (e *SwitchElement) ColorInterpolationFilters(colorInterpolationFilters String) *SwitchElement
- func (e *SwitchElement) ColorRendering(colorRendering String) *SwitchElement
- func (e *SwitchElement) Cursor(cursor String) *SwitchElement
- func (e *SwitchElement) Direction(direction String) *SwitchElement
- func (e *SwitchElement) Display(display String) *SwitchElement
- func (e *SwitchElement) DominantBaseline(dominantBaseline String) *SwitchElement
- func (e *SwitchElement) Fill(fill String) *SwitchElement
- func (e *SwitchElement) FillOpacity(fillOpacity Float64) *SwitchElement
- func (e *SwitchElement) FillRule(fillRule String) *SwitchElement
- func (e *SwitchElement) Filter(filter String) *SwitchElement
- func (e *SwitchElement) FloodColor(floodColor String) *SwitchElement
- func (e *SwitchElement) FloodOpacity(floodOpacity Float64) *SwitchElement
- func (e *SwitchElement) FontFamily(fontFamily String) *SwitchElement
- func (e *SwitchElement) FontSize(fontSize String) *SwitchElement
- func (e *SwitchElement) FontSizeAdjust(fontSizeAdjust String) *SwitchElement
- func (e *SwitchElement) FontStretch(fontStretch String) *SwitchElement
- func (e *SwitchElement) FontStyle(fontStyle String) *SwitchElement
- func (e *SwitchElement) FontVariant(fontVariant String) *SwitchElement
- func (e *SwitchElement) FontWeight(fontWeight String) *SwitchElement
- func (e *SwitchElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *SwitchElement
- func (e *SwitchElement) GlyphOrientationVertical(glyphOrientationVertical String) *SwitchElement
- func (e *SwitchElement) ID(id String) *SwitchElement
- func (e *SwitchElement) ImageRendering(imageRendering String) *SwitchElement
- func (e *SwitchElement) Lang(lang String) *SwitchElement
- func (e *SwitchElement) LetterSpacing(letterSpacing String) *SwitchElement
- func (e *SwitchElement) LightingColor(lightingColor String) *SwitchElement
- func (e *SwitchElement) MarkerEnd(markerEnd String) *SwitchElement
- func (e *SwitchElement) MarkerMid(markerMid String) *SwitchElement
- func (e *SwitchElement) MarkerStart(markerStart String) *SwitchElement
- func (e *SwitchElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *SwitchElement) Mask(mask String) *SwitchElement
- func (e *SwitchElement) Opacity(opacity Float64) *SwitchElement
- func (e *SwitchElement) Overflow(overflow String) *SwitchElement
- func (e *SwitchElement) PaintOrder(paintOrder String) *SwitchElement
- func (e *SwitchElement) PointerEvents(pointerEvents String) *SwitchElement
- func (e *SwitchElement) ShapeRendering(shapeRendering String) *SwitchElement
- func (e *SwitchElement) StopColor(stopColor String) *SwitchElement
- func (e *SwitchElement) StopOpacity(stopOpacity Float64) *SwitchElement
- func (e *SwitchElement) Stroke(stroke String) *SwitchElement
- func (e *SwitchElement) StrokeDashArray(strokeDashArray String) *SwitchElement
- func (e *SwitchElement) StrokeDashOffset(strokeDashOffset Float64) *SwitchElement
- func (e *SwitchElement) StrokeLineCap(strokeLineCap String) *SwitchElement
- func (e *SwitchElement) StrokeLineJoin(strokeLineJoin String) *SwitchElement
- func (e *SwitchElement) StrokeMiterLimit(strokeMiterLimit Float64) *SwitchElement
- func (e *SwitchElement) StrokeOpacity(strokeOpacity Float64) *SwitchElement
- func (e *SwitchElement) StrokeWidth(strokeWidth Length) *SwitchElement
- func (e *SwitchElement) Style(style String) *SwitchElement
- func (e *SwitchElement) TabIndex(tabIndex Int) *SwitchElement
- func (e *SwitchElement) TextAnchor(textAnchor String) *SwitchElement
- func (e *SwitchElement) TextDecoration(textDecoration String) *SwitchElement
- func (e *SwitchElement) TextOverflow(textOverflow String) *SwitchElement
- func (e *SwitchElement) TextRendering(textRendering String) *SwitchElement
- func (e *SwitchElement) UnicodeBiDi(UnicodeBiDi String) *SwitchElement
- func (e *SwitchElement) VectorEffect(vectorEffect String) *SwitchElement
- func (e *SwitchElement) Visibility(visibility String) *SwitchElement
- func (e *SwitchElement) WhiteSpace(whiteSpace String) *SwitchElement
- func (e *SwitchElement) WordSpacing(wordSpacing String) *SwitchElement
- func (e *SwitchElement) WritingMode(writingMode String) *SwitchElement
- type SymbolElement
- func (e *SymbolElement) AlignmentBaseline(alignmentBaseline String) *SymbolElement
- func (e *SymbolElement) AppendChildren(children ...Element) *SymbolElement
- func (e *SymbolElement) BaselineShift(baselineShift String) *SymbolElement
- func (e *SymbolElement) Class(class String) *SymbolElement
- func (e *SymbolElement) ClipPath(clipPath String) *SymbolElement
- func (e *SymbolElement) ClipRule(clipRule String) *SymbolElement
- func (e *SymbolElement) Color(color String) *SymbolElement
- func (e *SymbolElement) ColorInterpolation(colorInterpolation String) *SymbolElement
- func (e *SymbolElement) ColorInterpolationFilters(colorInterpolationFilters String) *SymbolElement
- func (e *SymbolElement) ColorRendering(colorRendering String) *SymbolElement
- func (e *SymbolElement) Cursor(cursor String) *SymbolElement
- func (e *SymbolElement) Direction(direction String) *SymbolElement
- func (e *SymbolElement) Display(display String) *SymbolElement
- func (e *SymbolElement) DominantBaseline(dominantBaseline String) *SymbolElement
- func (e *SymbolElement) Fill(fill String) *SymbolElement
- func (e *SymbolElement) FillOpacity(fillOpacity Float64) *SymbolElement
- func (e *SymbolElement) FillRule(fillRule String) *SymbolElement
- func (e *SymbolElement) Filter(filter String) *SymbolElement
- func (e *SymbolElement) FloodColor(floodColor String) *SymbolElement
- func (e *SymbolElement) FloodOpacity(floodOpacity Float64) *SymbolElement
- func (e *SymbolElement) FontFamily(fontFamily String) *SymbolElement
- func (e *SymbolElement) FontSize(fontSize String) *SymbolElement
- func (e *SymbolElement) FontSizeAdjust(fontSizeAdjust String) *SymbolElement
- func (e *SymbolElement) FontStretch(fontStretch String) *SymbolElement
- func (e *SymbolElement) FontStyle(fontStyle String) *SymbolElement
- func (e *SymbolElement) FontVariant(fontVariant String) *SymbolElement
- func (e *SymbolElement) FontWeight(fontWeight String) *SymbolElement
- func (e *SymbolElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *SymbolElement
- func (e *SymbolElement) GlyphOrientationVertical(glyphOrientationVertical String) *SymbolElement
- func (e *SymbolElement) Height(height Length) *SymbolElement
- func (e *SymbolElement) ID(id String) *SymbolElement
- func (e *SymbolElement) ImageRendering(imageRendering String) *SymbolElement
- func (e *SymbolElement) Lang(lang String) *SymbolElement
- func (e *SymbolElement) LetterSpacing(letterSpacing String) *SymbolElement
- func (e *SymbolElement) LightingColor(lightingColor String) *SymbolElement
- func (e *SymbolElement) MarkerEnd(markerEnd String) *SymbolElement
- func (e *SymbolElement) MarkerMid(markerMid String) *SymbolElement
- func (e *SymbolElement) MarkerStart(markerStart String) *SymbolElement
- func (e *SymbolElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *SymbolElement) Mask(mask String) *SymbolElement
- func (e *SymbolElement) Opacity(opacity Float64) *SymbolElement
- func (e *SymbolElement) Overflow(overflow String) *SymbolElement
- func (e *SymbolElement) PaintOrder(paintOrder String) *SymbolElement
- func (e *SymbolElement) PointerEvents(pointerEvents String) *SymbolElement
- func (e *SymbolElement) PreserveAspectRatio(preserveAspectRatio String) *SymbolElement
- func (e *SymbolElement) RefX(refX String) *SymbolElement
- func (e *SymbolElement) RefY(refY String) *SymbolElement
- func (e *SymbolElement) ShapeRendering(shapeRendering String) *SymbolElement
- func (e *SymbolElement) StopColor(stopColor String) *SymbolElement
- func (e *SymbolElement) StopOpacity(stopOpacity Float64) *SymbolElement
- func (e *SymbolElement) Stroke(stroke String) *SymbolElement
- func (e *SymbolElement) StrokeDashArray(strokeDashArray String) *SymbolElement
- func (e *SymbolElement) StrokeDashOffset(strokeDashOffset Float64) *SymbolElement
- func (e *SymbolElement) StrokeLineCap(strokeLineCap String) *SymbolElement
- func (e *SymbolElement) StrokeLineJoin(strokeLineJoin String) *SymbolElement
- func (e *SymbolElement) StrokeMiterLimit(strokeMiterLimit Float64) *SymbolElement
- func (e *SymbolElement) StrokeOpacity(strokeOpacity Float64) *SymbolElement
- func (e *SymbolElement) StrokeWidth(strokeWidth Length) *SymbolElement
- func (e *SymbolElement) Style(style String) *SymbolElement
- func (e *SymbolElement) TabIndex(tabIndex Int) *SymbolElement
- func (e *SymbolElement) TextAnchor(textAnchor String) *SymbolElement
- func (e *SymbolElement) TextDecoration(textDecoration String) *SymbolElement
- func (e *SymbolElement) TextOverflow(textOverflow String) *SymbolElement
- func (e *SymbolElement) TextRendering(textRendering String) *SymbolElement
- func (e *SymbolElement) UnicodeBiDi(UnicodeBiDi String) *SymbolElement
- func (e *SymbolElement) VectorEffect(vectorEffect String) *SymbolElement
- func (e *SymbolElement) ViewBox(minX, minY, width, height float64) *SymbolElement
- func (e *SymbolElement) Visibility(visibility String) *SymbolElement
- func (e *SymbolElement) WhiteSpace(whiteSpace String) *SymbolElement
- func (e *SymbolElement) Width(width Length) *SymbolElement
- func (e *SymbolElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *SymbolElement
- func (e *SymbolElement) WordSpacing(wordSpacing String) *SymbolElement
- func (e *SymbolElement) WritingMode(writingMode String) *SymbolElement
- func (e *SymbolElement) X(x Length) *SymbolElement
- func (e *SymbolElement) XY(x, y float64, lengthFunc LengthFunc) *SymbolElement
- func (e *SymbolElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *SymbolElement
- func (e *SymbolElement) Y(y Length) *SymbolElement
- type TSpanElement
- func (e *TSpanElement) AlignmentBaseline(alignmentBaseline String) *TSpanElement
- func (e *TSpanElement) AppendChildren(children ...Element) *TSpanElement
- func (e *TSpanElement) BaselineShift(baselineShift String) *TSpanElement
- func (e *TSpanElement) Class(class String) *TSpanElement
- func (e *TSpanElement) ClipPath(clipPath String) *TSpanElement
- func (e *TSpanElement) ClipRule(clipRule String) *TSpanElement
- func (e *TSpanElement) Color(color String) *TSpanElement
- func (e *TSpanElement) ColorInterpolation(colorInterpolation String) *TSpanElement
- func (e *TSpanElement) ColorInterpolationFilters(colorInterpolationFilters String) *TSpanElement
- func (e *TSpanElement) ColorRendering(colorRendering String) *TSpanElement
- func (e *TSpanElement) Cursor(cursor String) *TSpanElement
- func (e *TSpanElement) Direction(direction String) *TSpanElement
- func (e *TSpanElement) Display(display String) *TSpanElement
- func (e *TSpanElement) DominantBaseline(dominantBaseline String) *TSpanElement
- func (e *TSpanElement) Dx(dx String) *TSpanElement
- func (e *TSpanElement) Dy(dy String) *TSpanElement
- func (e *TSpanElement) Fill(fill String) *TSpanElement
- func (e *TSpanElement) FillOpacity(fillOpacity Float64) *TSpanElement
- func (e *TSpanElement) FillRule(fillRule String) *TSpanElement
- func (e *TSpanElement) Filter(filter String) *TSpanElement
- func (e *TSpanElement) FloodColor(floodColor String) *TSpanElement
- func (e *TSpanElement) FloodOpacity(floodOpacity Float64) *TSpanElement
- func (e *TSpanElement) FontFamily(fontFamily String) *TSpanElement
- func (e *TSpanElement) FontSize(fontSize String) *TSpanElement
- func (e *TSpanElement) FontSizeAdjust(fontSizeAdjust String) *TSpanElement
- func (e *TSpanElement) FontStretch(fontStretch String) *TSpanElement
- func (e *TSpanElement) FontStyle(fontStyle String) *TSpanElement
- func (e *TSpanElement) FontVariant(fontVariant String) *TSpanElement
- func (e *TSpanElement) FontWeight(fontWeight String) *TSpanElement
- func (e *TSpanElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *TSpanElement
- func (e *TSpanElement) GlyphOrientationVertical(glyphOrientationVertical String) *TSpanElement
- func (e *TSpanElement) ID(id String) *TSpanElement
- func (e *TSpanElement) ImageRendering(imageRendering String) *TSpanElement
- func (e *TSpanElement) Lang(lang String) *TSpanElement
- func (e *TSpanElement) LengthAdjust(lengthAdjust String) *TSpanElement
- func (e *TSpanElement) LetterSpacing(letterSpacing String) *TSpanElement
- func (e *TSpanElement) LightingColor(lightingColor String) *TSpanElement
- func (e *TSpanElement) MarkerEnd(markerEnd String) *TSpanElement
- func (e *TSpanElement) MarkerMid(markerMid String) *TSpanElement
- func (e *TSpanElement) MarkerStart(markerStart String) *TSpanElement
- func (e *TSpanElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *TSpanElement) Mask(mask String) *TSpanElement
- func (e *TSpanElement) Opacity(opacity Float64) *TSpanElement
- func (e *TSpanElement) Overflow(overflow String) *TSpanElement
- func (e *TSpanElement) PaintOrder(paintOrder String) *TSpanElement
- func (e *TSpanElement) PointerEvents(pointerEvents String) *TSpanElement
- func (e *TSpanElement) Rotate(rotate String) *TSpanElement
- func (e *TSpanElement) ShapeRendering(shapeRendering String) *TSpanElement
- func (e *TSpanElement) StopColor(stopColor String) *TSpanElement
- func (e *TSpanElement) StopOpacity(stopOpacity Float64) *TSpanElement
- func (e *TSpanElement) Stroke(stroke String) *TSpanElement
- func (e *TSpanElement) StrokeDashArray(strokeDashArray String) *TSpanElement
- func (e *TSpanElement) StrokeDashOffset(strokeDashOffset Float64) *TSpanElement
- func (e *TSpanElement) StrokeLineCap(strokeLineCap String) *TSpanElement
- func (e *TSpanElement) StrokeLineJoin(strokeLineJoin String) *TSpanElement
- func (e *TSpanElement) StrokeMiterLimit(strokeMiterLimit Float64) *TSpanElement
- func (e *TSpanElement) StrokeOpacity(strokeOpacity Float64) *TSpanElement
- func (e *TSpanElement) StrokeWidth(strokeWidth Length) *TSpanElement
- func (e *TSpanElement) Style(style String) *TSpanElement
- func (e *TSpanElement) TabIndex(tabIndex Int) *TSpanElement
- func (e *TSpanElement) TextAnchor(textAnchor String) *TSpanElement
- func (e *TSpanElement) TextDecoration(textDecoration String) *TSpanElement
- func (e *TSpanElement) TextLength(textLength String) *TSpanElement
- func (e *TSpanElement) TextOverflow(textOverflow String) *TSpanElement
- func (e *TSpanElement) TextRendering(textRendering String) *TSpanElement
- func (e *TSpanElement) UnicodeBiDi(UnicodeBiDi String) *TSpanElement
- func (e *TSpanElement) VectorEffect(vectorEffect String) *TSpanElement
- func (e *TSpanElement) Visibility(visibility String) *TSpanElement
- func (e *TSpanElement) WhiteSpace(whiteSpace String) *TSpanElement
- func (e *TSpanElement) WordSpacing(wordSpacing String) *TSpanElement
- func (e *TSpanElement) WritingMode(writingMode String) *TSpanElement
- func (e *TSpanElement) X(x String) *TSpanElement
- func (e *TSpanElement) XY(x, y float64) *TSpanElement
- func (e *TSpanElement) Y(y String) *TSpanElement
- type TextElement
- func (e *TextElement) AlignmentBaseline(alignmentBaseline String) *TextElement
- func (e *TextElement) AppendChildren(children ...Element) *TextElement
- func (e *TextElement) BaselineShift(baselineShift String) *TextElement
- func (e *TextElement) Class(class String) *TextElement
- func (e *TextElement) ClipPath(clipPath String) *TextElement
- func (e *TextElement) ClipRule(clipRule String) *TextElement
- func (e *TextElement) Color(color String) *TextElement
- func (e *TextElement) ColorInterpolation(colorInterpolation String) *TextElement
- func (e *TextElement) ColorInterpolationFilters(colorInterpolationFilters String) *TextElement
- func (e *TextElement) ColorRendering(colorRendering String) *TextElement
- func (e *TextElement) Cursor(cursor String) *TextElement
- func (e *TextElement) Direction(direction String) *TextElement
- func (e *TextElement) Display(display String) *TextElement
- func (e *TextElement) DominantBaseline(dominantBaseline String) *TextElement
- func (e *TextElement) Dx(dx String) *TextElement
- func (e *TextElement) Dy(dy String) *TextElement
- func (e *TextElement) Fill(fill String) *TextElement
- func (e *TextElement) FillOpacity(fillOpacity Float64) *TextElement
- func (e *TextElement) FillRule(fillRule String) *TextElement
- func (e *TextElement) Filter(filter String) *TextElement
- func (e *TextElement) FloodColor(floodColor String) *TextElement
- func (e *TextElement) FloodOpacity(floodOpacity Float64) *TextElement
- func (e *TextElement) FontFamily(fontFamily String) *TextElement
- func (e *TextElement) FontSize(fontSize String) *TextElement
- func (e *TextElement) FontSizeAdjust(fontSizeAdjust String) *TextElement
- func (e *TextElement) FontStretch(fontStretch String) *TextElement
- func (e *TextElement) FontStyle(fontStyle String) *TextElement
- func (e *TextElement) FontVariant(fontVariant String) *TextElement
- func (e *TextElement) FontWeight(fontWeight String) *TextElement
- func (e *TextElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *TextElement
- func (e *TextElement) GlyphOrientationVertical(glyphOrientationVertical String) *TextElement
- func (e *TextElement) ID(id String) *TextElement
- func (e *TextElement) ImageRendering(imageRendering String) *TextElement
- func (e *TextElement) Lang(lang String) *TextElement
- func (e *TextElement) LengthAdjust(lengthAdjust String) *TextElement
- func (e *TextElement) LetterSpacing(letterSpacing String) *TextElement
- func (e *TextElement) LightingColor(lightingColor String) *TextElement
- func (e *TextElement) MarkerEnd(markerEnd String) *TextElement
- func (e *TextElement) MarkerMid(markerMid String) *TextElement
- func (e *TextElement) MarkerStart(markerStart String) *TextElement
- func (e *TextElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *TextElement) Mask(mask String) *TextElement
- func (e *TextElement) Opacity(opacity Float64) *TextElement
- func (e *TextElement) Overflow(overflow String) *TextElement
- func (e *TextElement) PaintOrder(paintOrder String) *TextElement
- func (e *TextElement) PointerEvents(pointerEvents String) *TextElement
- func (e *TextElement) Rotate(rotate String) *TextElement
- func (e *TextElement) ShapeRendering(shapeRendering String) *TextElement
- func (e *TextElement) StopColor(stopColor String) *TextElement
- func (e *TextElement) StopOpacity(stopOpacity Float64) *TextElement
- func (e *TextElement) Stroke(stroke String) *TextElement
- func (e *TextElement) StrokeDashArray(strokeDashArray String) *TextElement
- func (e *TextElement) StrokeDashOffset(strokeDashOffset Float64) *TextElement
- func (e *TextElement) StrokeLineCap(strokeLineCap String) *TextElement
- func (e *TextElement) StrokeLineJoin(strokeLineJoin String) *TextElement
- func (e *TextElement) StrokeMiterLimit(strokeMiterLimit Float64) *TextElement
- func (e *TextElement) StrokeOpacity(strokeOpacity Float64) *TextElement
- func (e *TextElement) StrokeWidth(strokeWidth Length) *TextElement
- func (e *TextElement) Style(style String) *TextElement
- func (e *TextElement) TabIndex(tabIndex Int) *TextElement
- func (e *TextElement) TextAnchor(textAnchor String) *TextElement
- func (e *TextElement) TextDecoration(textDecoration String) *TextElement
- func (e *TextElement) TextLength(textLength String) *TextElement
- func (e *TextElement) TextOverflow(textOverflow String) *TextElement
- func (e *TextElement) TextRendering(textRendering String) *TextElement
- func (e *TextElement) UnicodeBiDi(UnicodeBiDi String) *TextElement
- func (e *TextElement) VectorEffect(vectorEffect String) *TextElement
- func (e *TextElement) Visibility(visibility String) *TextElement
- func (e *TextElement) WhiteSpace(whiteSpace String) *TextElement
- func (e *TextElement) WordSpacing(wordSpacing String) *TextElement
- func (e *TextElement) WritingMode(writingMode String) *TextElement
- func (e *TextElement) X(x String) *TextElement
- func (e *TextElement) XY(x, y float64, lengthFunc LengthFunc) *TextElement
- func (e *TextElement) Y(y String) *TextElement
- type TextPathElement
- func (e *TextPathElement) AlignmentBaseline(alignmentBaseline String) *TextPathElement
- func (e *TextPathElement) AppendChildren(children ...Element) *TextPathElement
- func (e *TextPathElement) BaselineShift(baselineShift String) *TextPathElement
- func (e *TextPathElement) Class(class String) *TextPathElement
- func (e *TextPathElement) ClipPath(clipPath String) *TextPathElement
- func (e *TextPathElement) ClipRule(clipRule String) *TextPathElement
- func (e *TextPathElement) Color(color String) *TextPathElement
- func (e *TextPathElement) ColorInterpolation(colorInterpolation String) *TextPathElement
- func (e *TextPathElement) ColorInterpolationFilters(colorInterpolationFilters String) *TextPathElement
- func (e *TextPathElement) ColorRendering(colorRendering String) *TextPathElement
- func (e *TextPathElement) Cursor(cursor String) *TextPathElement
- func (e *TextPathElement) Direction(direction String) *TextPathElement
- func (e *TextPathElement) Display(display String) *TextPathElement
- func (e *TextPathElement) DominantBaseline(dominantBaseline String) *TextPathElement
- func (e *TextPathElement) Fill(fill String) *TextPathElement
- func (e *TextPathElement) FillOpacity(fillOpacity Float64) *TextPathElement
- func (e *TextPathElement) FillRule(fillRule String) *TextPathElement
- func (e *TextPathElement) Filter(filter String) *TextPathElement
- func (e *TextPathElement) FloodColor(floodColor String) *TextPathElement
- func (e *TextPathElement) FloodOpacity(floodOpacity Float64) *TextPathElement
- func (e *TextPathElement) FontFamily(fontFamily String) *TextPathElement
- func (e *TextPathElement) FontSize(fontSize String) *TextPathElement
- func (e *TextPathElement) FontSizeAdjust(fontSizeAdjust String) *TextPathElement
- func (e *TextPathElement) FontStretch(fontStretch String) *TextPathElement
- func (e *TextPathElement) FontStyle(fontStyle String) *TextPathElement
- func (e *TextPathElement) FontVariant(fontVariant String) *TextPathElement
- func (e *TextPathElement) FontWeight(fontWeight String) *TextPathElement
- func (e *TextPathElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *TextPathElement
- func (e *TextPathElement) GlyphOrientationVertical(glyphOrientationVertical String) *TextPathElement
- func (e *TextPathElement) Href(href String) *TextPathElement
- func (e *TextPathElement) ID(id String) *TextPathElement
- func (e *TextPathElement) ImageRendering(imageRendering String) *TextPathElement
- func (e *TextPathElement) Lang(lang String) *TextPathElement
- func (e *TextPathElement) LengthAdjust(lengthAdjust String) *TextPathElement
- func (e *TextPathElement) LetterSpacing(letterSpacing String) *TextPathElement
- func (e *TextPathElement) LightingColor(lightingColor String) *TextPathElement
- func (e *TextPathElement) MarkerEnd(markerEnd String) *TextPathElement
- func (e *TextPathElement) MarkerMid(markerMid String) *TextPathElement
- func (e *TextPathElement) MarkerStart(markerStart String) *TextPathElement
- func (e *TextPathElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *TextPathElement) Mask(mask String) *TextPathElement
- func (e *TextPathElement) Method(method String) *TextPathElement
- func (e *TextPathElement) Opacity(opacity Float64) *TextPathElement
- func (e *TextPathElement) Overflow(overflow String) *TextPathElement
- func (e *TextPathElement) PaintOrder(paintOrder String) *TextPathElement
- func (e *TextPathElement) Path(path String) *TextPathElement
- func (e *TextPathElement) PointerEvents(pointerEvents String) *TextPathElement
- func (e *TextPathElement) ShapeRendering(shapeRendering String) *TextPathElement
- func (e *TextPathElement) Side(side String) *TextPathElement
- func (e *TextPathElement) Spacing(spacing String) *TextPathElement
- func (e *TextPathElement) StartOffset(startOffset String) *TextPathElement
- func (e *TextPathElement) StopColor(stopColor String) *TextPathElement
- func (e *TextPathElement) StopOpacity(stopOpacity Float64) *TextPathElement
- func (e *TextPathElement) Stroke(stroke String) *TextPathElement
- func (e *TextPathElement) StrokeDashArray(strokeDashArray String) *TextPathElement
- func (e *TextPathElement) StrokeDashOffset(strokeDashOffset Float64) *TextPathElement
- func (e *TextPathElement) StrokeLineCap(strokeLineCap String) *TextPathElement
- func (e *TextPathElement) StrokeLineJoin(strokeLineJoin String) *TextPathElement
- func (e *TextPathElement) StrokeMiterLimit(strokeMiterLimit Float64) *TextPathElement
- func (e *TextPathElement) StrokeOpacity(strokeOpacity Float64) *TextPathElement
- func (e *TextPathElement) StrokeWidth(strokeWidth Length) *TextPathElement
- func (e *TextPathElement) Style(style String) *TextPathElement
- func (e *TextPathElement) TabIndex(tabIndex Int) *TextPathElement
- func (e *TextPathElement) TextAnchor(textAnchor String) *TextPathElement
- func (e *TextPathElement) TextDecoration(textDecoration String) *TextPathElement
- func (e *TextPathElement) TextLength(textLength String) *TextPathElement
- func (e *TextPathElement) TextOverflow(textOverflow String) *TextPathElement
- func (e *TextPathElement) TextRendering(textRendering String) *TextPathElement
- func (e *TextPathElement) UnicodeBiDi(UnicodeBiDi String) *TextPathElement
- func (e *TextPathElement) VectorEffect(vectorEffect String) *TextPathElement
- func (e *TextPathElement) Visibility(visibility String) *TextPathElement
- func (e *TextPathElement) WhiteSpace(whiteSpace String) *TextPathElement
- func (e *TextPathElement) WordSpacing(wordSpacing String) *TextPathElement
- func (e *TextPathElement) WritingMode(writingMode String) *TextPathElement
- type TitleElement
- type UseElement
- func (e *UseElement) AlignmentBaseline(alignmentBaseline String) *UseElement
- func (e *UseElement) AppendChildren(children ...Element) *UseElement
- func (e *UseElement) BaselineShift(baselineShift String) *UseElement
- func (e *UseElement) Class(class String) *UseElement
- func (e *UseElement) ClipPath(clipPath String) *UseElement
- func (e *UseElement) ClipRule(clipRule String) *UseElement
- func (e *UseElement) Color(color String) *UseElement
- func (e *UseElement) ColorInterpolation(colorInterpolation String) *UseElement
- func (e *UseElement) ColorInterpolationFilters(colorInterpolationFilters String) *UseElement
- func (e *UseElement) ColorRendering(colorRendering String) *UseElement
- func (e *UseElement) Cursor(cursor String) *UseElement
- func (e *UseElement) Direction(direction String) *UseElement
- func (e *UseElement) Display(display String) *UseElement
- func (e *UseElement) DominantBaseline(dominantBaseline String) *UseElement
- func (e *UseElement) Fill(fill String) *UseElement
- func (e *UseElement) FillOpacity(fillOpacity Float64) *UseElement
- func (e *UseElement) FillRule(fillRule String) *UseElement
- func (e *UseElement) Filter(filter String) *UseElement
- func (e *UseElement) FloodColor(floodColor String) *UseElement
- func (e *UseElement) FloodOpacity(floodOpacity Float64) *UseElement
- func (e *UseElement) FontFamily(fontFamily String) *UseElement
- func (e *UseElement) FontSize(fontSize String) *UseElement
- func (e *UseElement) FontSizeAdjust(fontSizeAdjust String) *UseElement
- func (e *UseElement) FontStretch(fontStretch String) *UseElement
- func (e *UseElement) FontStyle(fontStyle String) *UseElement
- func (e *UseElement) FontVariant(fontVariant String) *UseElement
- func (e *UseElement) FontWeight(fontWeight String) *UseElement
- func (e *UseElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *UseElement
- func (e *UseElement) GlyphOrientationVertical(glyphOrientationVertical String) *UseElement
- func (e *UseElement) Height(height Length) *UseElement
- func (e *UseElement) Href(href String) *UseElement
- func (e *UseElement) ID(id String) *UseElement
- func (e *UseElement) ImageRendering(imageRendering String) *UseElement
- func (e *UseElement) Lang(lang String) *UseElement
- func (e *UseElement) LetterSpacing(letterSpacing String) *UseElement
- func (e *UseElement) LightingColor(lightingColor String) *UseElement
- func (e *UseElement) MarkerEnd(markerEnd String) *UseElement
- func (e *UseElement) MarkerMid(markerMid String) *UseElement
- func (e *UseElement) MarkerStart(markerStart String) *UseElement
- func (e *UseElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
- func (e *UseElement) Mask(mask String) *UseElement
- func (e *UseElement) Opacity(opacity Float64) *UseElement
- func (e *UseElement) Overflow(overflow String) *UseElement
- func (e *UseElement) PaintOrder(paintOrder String) *UseElement
- func (e *UseElement) PointerEvents(pointerEvents String) *UseElement
- func (e *UseElement) ShapeRendering(shapeRendering String) *UseElement
- func (e *UseElement) StopColor(stopColor String) *UseElement
- func (e *UseElement) StopOpacity(stopOpacity Float64) *UseElement
- func (e *UseElement) Stroke(stroke String) *UseElement
- func (e *UseElement) StrokeDashArray(strokeDashArray String) *UseElement
- func (e *UseElement) StrokeDashOffset(strokeDashOffset Float64) *UseElement
- func (e *UseElement) StrokeLineCap(strokeLineCap String) *UseElement
- func (e *UseElement) StrokeLineJoin(strokeLineJoin String) *UseElement
- func (e *UseElement) StrokeMiterLimit(strokeMiterLimit Float64) *UseElement
- func (e *UseElement) StrokeOpacity(strokeOpacity Float64) *UseElement
- func (e *UseElement) StrokeWidth(strokeWidth Length) *UseElement
- func (e *UseElement) Style(style String) *UseElement
- func (e *UseElement) TabIndex(tabIndex Int) *UseElement
- func (e *UseElement) TextAnchor(textAnchor String) *UseElement
- func (e *UseElement) TextDecoration(textDecoration String) *UseElement
- func (e *UseElement) TextOverflow(textOverflow String) *UseElement
- func (e *UseElement) TextRendering(textRendering String) *UseElement
- func (e *UseElement) UnicodeBiDi(UnicodeBiDi String) *UseElement
- func (e *UseElement) VectorEffect(vectorEffect String) *UseElement
- func (e *UseElement) Visibility(visibility String) *UseElement
- func (e *UseElement) WhiteSpace(whiteSpace String) *UseElement
- func (e *UseElement) Width(width Length) *UseElement
- func (e *UseElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *UseElement
- func (e *UseElement) WordSpacing(wordSpacing String) *UseElement
- func (e *UseElement) WritingMode(writingMode String) *UseElement
- func (e *UseElement) X(x Length) *UseElement
- func (e *UseElement) XY(x, y float64, lengthFunc LengthFunc) *UseElement
- func (e *UseElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *UseElement
- func (e *UseElement) Y(y Length) *UseElement
- type ViewBox
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AElement ¶
An AElement is an a element.
func (*AElement) AppendChildren ¶
AppendChildren appends the given children.
func (*AElement) MarshalXML ¶
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*AElement) ReferrerPolicy ¶
ReferrerPolicy sets the referrerpolicy attribute.
type AngleUnit ¶
type AngleUnit int
An AngleUnit is an angle unit.
type CharData ¶
type CharData []byte
A CharData is literal XML character data.
func (CharData) MarshalXML ¶
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
type CircleElement ¶
A CircleElement is a circle element.
func (*CircleElement) AlignmentBaseline ¶
func (e *CircleElement) AlignmentBaseline(alignmentBaseline String) *CircleElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*CircleElement) AppendChildren ¶
func (e *CircleElement) AppendChildren(children ...Element) *CircleElement
AppendChildren appends the given children.
func (*CircleElement) BaselineShift ¶
func (e *CircleElement) BaselineShift(baselineShift String) *CircleElement
BaselineShift sets the baseline-shift attribute.
func (*CircleElement) CX ¶
func (e *CircleElement) CX(cx Length) *CircleElement
CX sets the cx attribute.
func (*CircleElement) CXCY ¶
func (e *CircleElement) CXCY(cx, cy float64, lengthFunc LengthFunc) *CircleElement
CXCY sets the cx and cy attributes.
func (*CircleElement) CXCYR ¶
func (e *CircleElement) CXCYR(cx, cy, r float64, lengthFunc LengthFunc) *CircleElement
CXCYR sets the cx, cy, and r attributes.
func (*CircleElement) CY ¶
func (e *CircleElement) CY(cy Length) *CircleElement
CY sets the cy attribute.
func (*CircleElement) Class ¶
func (e *CircleElement) Class(class String) *CircleElement
Class sets the class attribute.
func (*CircleElement) ClipPath ¶
func (e *CircleElement) ClipPath(clipPath String) *CircleElement
ClipPath sets the clip-path attribute.
func (*CircleElement) ClipRule ¶
func (e *CircleElement) ClipRule(clipRule String) *CircleElement
ClipRule sets the clip-rule attribute.
func (*CircleElement) Color ¶
func (e *CircleElement) Color(color String) *CircleElement
Color sets the color attribute.
func (*CircleElement) ColorInterpolation ¶
func (e *CircleElement) ColorInterpolation(colorInterpolation String) *CircleElement
ColorInterpolation sets the color-interpolation attribute.
func (*CircleElement) ColorInterpolationFilters ¶
func (e *CircleElement) ColorInterpolationFilters(colorInterpolationFilters String) *CircleElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*CircleElement) ColorRendering ¶
func (e *CircleElement) ColorRendering(colorRendering String) *CircleElement
ColorRendering sets the color-rendering attribute.
func (*CircleElement) Cursor ¶
func (e *CircleElement) Cursor(cursor String) *CircleElement
Cursor sets the cursor attribute.
func (*CircleElement) Direction ¶
func (e *CircleElement) Direction(direction String) *CircleElement
Direction sets the direction attribute.
func (*CircleElement) Display ¶
func (e *CircleElement) Display(display String) *CircleElement
Display sets the display attribute.
func (*CircleElement) DominantBaseline ¶
func (e *CircleElement) DominantBaseline(dominantBaseline String) *CircleElement
DominantBaseline sets the dominant-baseline attribute.
func (*CircleElement) Fill ¶
func (e *CircleElement) Fill(fill String) *CircleElement
Fill sets the fill attribute.
func (*CircleElement) FillOpacity ¶
func (e *CircleElement) FillOpacity(fillOpacity Float64) *CircleElement
FillOpacity sets the fill-opacity attribute.
func (*CircleElement) FillRule ¶
func (e *CircleElement) FillRule(fillRule String) *CircleElement
FillRule sets the fill-rule attribute.
func (*CircleElement) Filter ¶
func (e *CircleElement) Filter(filter String) *CircleElement
Filter sets the filter attribute.
func (*CircleElement) FloodColor ¶
func (e *CircleElement) FloodColor(floodColor String) *CircleElement
FloodColor sets the flood-color attribute.
func (*CircleElement) FloodOpacity ¶
func (e *CircleElement) FloodOpacity(floodOpacity Float64) *CircleElement
FloodOpacity sets the flood-opacity attribute.
func (*CircleElement) FontFamily ¶
func (e *CircleElement) FontFamily(fontFamily String) *CircleElement
FontFamily sets the font-family attribute.
func (*CircleElement) FontSize ¶
func (e *CircleElement) FontSize(fontSize String) *CircleElement
FontSize sets the font-size attribute.
func (*CircleElement) FontSizeAdjust ¶
func (e *CircleElement) FontSizeAdjust(fontSizeAdjust String) *CircleElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*CircleElement) FontStretch ¶
func (e *CircleElement) FontStretch(fontStretch String) *CircleElement
FontStretch sets the font-stretch attribute.
func (*CircleElement) FontStyle ¶
func (e *CircleElement) FontStyle(fontStyle String) *CircleElement
FontStyle sets the font-style attribute.
func (*CircleElement) FontVariant ¶
func (e *CircleElement) FontVariant(fontVariant String) *CircleElement
FontVariant sets the font-variant attribute.
func (*CircleElement) FontWeight ¶
func (e *CircleElement) FontWeight(fontWeight String) *CircleElement
FontWeight sets the font-weight attribute.
func (*CircleElement) GlyphOrientationHorizontal ¶
func (e *CircleElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *CircleElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*CircleElement) GlyphOrientationVertical ¶
func (e *CircleElement) GlyphOrientationVertical(glyphOrientationVertical String) *CircleElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*CircleElement) ID ¶
func (e *CircleElement) ID(id String) *CircleElement
ID sets the id attribute.
func (*CircleElement) ImageRendering ¶
func (e *CircleElement) ImageRendering(imageRendering String) *CircleElement
ImageRendering sets the image-rendering attribute.
func (*CircleElement) Lang ¶
func (e *CircleElement) Lang(lang String) *CircleElement
Lang sets the lang attribute.
func (*CircleElement) LetterSpacing ¶
func (e *CircleElement) LetterSpacing(letterSpacing String) *CircleElement
LetterSpacing sets the letter-spacing attribute.
func (*CircleElement) LightingColor ¶
func (e *CircleElement) LightingColor(lightingColor String) *CircleElement
LightingColor sets the lighting-color attribute.
func (*CircleElement) MarkerEnd ¶
func (e *CircleElement) MarkerEnd(markerEnd String) *CircleElement
MarkerEnd sets the marker-end attribute.
func (*CircleElement) MarkerMid ¶
func (e *CircleElement) MarkerMid(markerMid String) *CircleElement
MarkerMid sets the marker-mid attribute.
func (*CircleElement) MarkerStart ¶
func (e *CircleElement) MarkerStart(markerStart String) *CircleElement
MarkerStart sets the marker-start attribute.
func (*CircleElement) MarshalXML ¶
func (e *CircleElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*CircleElement) Mask ¶
func (e *CircleElement) Mask(mask String) *CircleElement
Mask sets the mask attribute.
func (*CircleElement) Opacity ¶
func (e *CircleElement) Opacity(opacity Float64) *CircleElement
Opacity sets the opacity attribute.
func (*CircleElement) Overflow ¶
func (e *CircleElement) Overflow(overflow String) *CircleElement
Overflow sets the overflow attribute.
func (*CircleElement) PaintOrder ¶
func (e *CircleElement) PaintOrder(paintOrder String) *CircleElement
PaintOrder sets the paint-order attribute.
func (*CircleElement) PathLength ¶
func (e *CircleElement) PathLength(pathLength String) *CircleElement
PathLength sets the pathLength attribute.
func (*CircleElement) PointerEvents ¶
func (e *CircleElement) PointerEvents(pointerEvents String) *CircleElement
PointerEvents sets the pointer-events attribute.
func (*CircleElement) R ¶
func (e *CircleElement) R(r Length) *CircleElement
R sets the r attribute.
func (*CircleElement) ShapeRendering ¶
func (e *CircleElement) ShapeRendering(shapeRendering String) *CircleElement
ShapeRendering sets the shape-rendering attribute.
func (*CircleElement) StopColor ¶
func (e *CircleElement) StopColor(stopColor String) *CircleElement
StopColor sets the stop-color attribute.
func (*CircleElement) StopOpacity ¶
func (e *CircleElement) StopOpacity(stopOpacity Float64) *CircleElement
StopOpacity sets the stop-opacity attribute.
func (*CircleElement) Stroke ¶
func (e *CircleElement) Stroke(stroke String) *CircleElement
Stroke sets the stroke attribute.
func (*CircleElement) StrokeDashArray ¶
func (e *CircleElement) StrokeDashArray(strokeDashArray String) *CircleElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*CircleElement) StrokeDashOffset ¶
func (e *CircleElement) StrokeDashOffset(strokeDashOffset Float64) *CircleElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*CircleElement) StrokeLineCap ¶
func (e *CircleElement) StrokeLineCap(strokeLineCap String) *CircleElement
StrokeLineCap sets the stroke-linecap attribute.
func (*CircleElement) StrokeLineJoin ¶
func (e *CircleElement) StrokeLineJoin(strokeLineJoin String) *CircleElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*CircleElement) StrokeMiterLimit ¶
func (e *CircleElement) StrokeMiterLimit(strokeMiterLimit Float64) *CircleElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*CircleElement) StrokeOpacity ¶
func (e *CircleElement) StrokeOpacity(strokeOpacity Float64) *CircleElement
StrokeOpacity sets the stroke-opacity attribute.
func (*CircleElement) StrokeWidth ¶
func (e *CircleElement) StrokeWidth(strokeWidth Length) *CircleElement
StrokeWidth sets the stroke-width attribute.
func (*CircleElement) Style ¶
func (e *CircleElement) Style(style String) *CircleElement
Style sets the style attribute.
func (*CircleElement) TabIndex ¶
func (e *CircleElement) TabIndex(tabIndex Int) *CircleElement
TabIndex sets the tabindex attribute.
func (*CircleElement) TextAnchor ¶
func (e *CircleElement) TextAnchor(textAnchor String) *CircleElement
TextAnchor sets the text-anchor attribute.
func (*CircleElement) TextDecoration ¶
func (e *CircleElement) TextDecoration(textDecoration String) *CircleElement
TextDecoration sets the text-decoration attribute.
func (*CircleElement) TextOverflow ¶
func (e *CircleElement) TextOverflow(textOverflow String) *CircleElement
TextOverflow sets the text-overflow attribute.
func (*CircleElement) TextRendering ¶
func (e *CircleElement) TextRendering(textRendering String) *CircleElement
TextRendering sets the text-rendering attribute.
func (*CircleElement) UnicodeBiDi ¶
func (e *CircleElement) UnicodeBiDi(UnicodeBiDi String) *CircleElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*CircleElement) VectorEffect ¶
func (e *CircleElement) VectorEffect(vectorEffect String) *CircleElement
VectorEffect sets the vector-effect attribute.
func (*CircleElement) Visibility ¶
func (e *CircleElement) Visibility(visibility String) *CircleElement
Visibility sets the visibility attribute.
func (*CircleElement) WhiteSpace ¶
func (e *CircleElement) WhiteSpace(whiteSpace String) *CircleElement
WhiteSpace sets the white-space attribute.
func (*CircleElement) WordSpacing ¶
func (e *CircleElement) WordSpacing(wordSpacing String) *CircleElement
WordSpacing sets the word-spacing attribute.
func (*CircleElement) WritingMode ¶
func (e *CircleElement) WritingMode(writingMode String) *CircleElement
WritingMode sets the writing-mode attribute.
type ClipPathElement ¶
A ClipPathElement is a clipPath element.
func ClipPath ¶
func ClipPath(children ...Element) *ClipPathElement
ClipPath returns a new ClipPathElement.
func (*ClipPathElement) AlignmentBaseline ¶
func (e *ClipPathElement) AlignmentBaseline(alignmentBaseline String) *ClipPathElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*ClipPathElement) AppendChildren ¶
func (e *ClipPathElement) AppendChildren(children ...Element) *ClipPathElement
AppendChildren appends the given children.
func (*ClipPathElement) BaselineShift ¶
func (e *ClipPathElement) BaselineShift(baselineShift String) *ClipPathElement
BaselineShift sets the baseline-shift attribute.
func (*ClipPathElement) Class ¶
func (e *ClipPathElement) Class(class String) *ClipPathElement
Class sets the class attribute.
func (*ClipPathElement) ClipPath ¶
func (e *ClipPathElement) ClipPath(clipPath String) *ClipPathElement
ClipPath sets the clip-path attribute.
func (*ClipPathElement) ClipPathUnits ¶
func (e *ClipPathElement) ClipPathUnits(clipPathUnits String) *ClipPathElement
ClipPathUnits sets the clipPathUnits attribute.
func (*ClipPathElement) ClipRule ¶
func (e *ClipPathElement) ClipRule(clipRule String) *ClipPathElement
ClipRule sets the clip-rule attribute.
func (*ClipPathElement) Color ¶
func (e *ClipPathElement) Color(color String) *ClipPathElement
Color sets the color attribute.
func (*ClipPathElement) ColorInterpolation ¶
func (e *ClipPathElement) ColorInterpolation(colorInterpolation String) *ClipPathElement
ColorInterpolation sets the color-interpolation attribute.
func (*ClipPathElement) ColorInterpolationFilters ¶
func (e *ClipPathElement) ColorInterpolationFilters(colorInterpolationFilters String) *ClipPathElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*ClipPathElement) ColorRendering ¶
func (e *ClipPathElement) ColorRendering(colorRendering String) *ClipPathElement
ColorRendering sets the color-rendering attribute.
func (*ClipPathElement) Cursor ¶
func (e *ClipPathElement) Cursor(cursor String) *ClipPathElement
Cursor sets the cursor attribute.
func (*ClipPathElement) Direction ¶
func (e *ClipPathElement) Direction(direction String) *ClipPathElement
Direction sets the direction attribute.
func (*ClipPathElement) Display ¶
func (e *ClipPathElement) Display(display String) *ClipPathElement
Display sets the display attribute.
func (*ClipPathElement) DominantBaseline ¶
func (e *ClipPathElement) DominantBaseline(dominantBaseline String) *ClipPathElement
DominantBaseline sets the dominant-baseline attribute.
func (*ClipPathElement) ExternalResourcesRequired ¶
func (e *ClipPathElement) ExternalResourcesRequired(externalResourcesRequired String) *ClipPathElement
ExternalResourcesRequired sets the externalResourcesRequired attribute.
func (*ClipPathElement) Fill ¶
func (e *ClipPathElement) Fill(fill String) *ClipPathElement
Fill sets the fill attribute.
func (*ClipPathElement) FillOpacity ¶
func (e *ClipPathElement) FillOpacity(fillOpacity Float64) *ClipPathElement
FillOpacity sets the fill-opacity attribute.
func (*ClipPathElement) FillRule ¶
func (e *ClipPathElement) FillRule(fillRule String) *ClipPathElement
FillRule sets the fill-rule attribute.
func (*ClipPathElement) Filter ¶
func (e *ClipPathElement) Filter(filter String) *ClipPathElement
Filter sets the filter attribute.
func (*ClipPathElement) FloodColor ¶
func (e *ClipPathElement) FloodColor(floodColor String) *ClipPathElement
FloodColor sets the flood-color attribute.
func (*ClipPathElement) FloodOpacity ¶
func (e *ClipPathElement) FloodOpacity(floodOpacity Float64) *ClipPathElement
FloodOpacity sets the flood-opacity attribute.
func (*ClipPathElement) FontFamily ¶
func (e *ClipPathElement) FontFamily(fontFamily String) *ClipPathElement
FontFamily sets the font-family attribute.
func (*ClipPathElement) FontSize ¶
func (e *ClipPathElement) FontSize(fontSize String) *ClipPathElement
FontSize sets the font-size attribute.
func (*ClipPathElement) FontSizeAdjust ¶
func (e *ClipPathElement) FontSizeAdjust(fontSizeAdjust String) *ClipPathElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*ClipPathElement) FontStretch ¶
func (e *ClipPathElement) FontStretch(fontStretch String) *ClipPathElement
FontStretch sets the font-stretch attribute.
func (*ClipPathElement) FontStyle ¶
func (e *ClipPathElement) FontStyle(fontStyle String) *ClipPathElement
FontStyle sets the font-style attribute.
func (*ClipPathElement) FontVariant ¶
func (e *ClipPathElement) FontVariant(fontVariant String) *ClipPathElement
FontVariant sets the font-variant attribute.
func (*ClipPathElement) FontWeight ¶
func (e *ClipPathElement) FontWeight(fontWeight String) *ClipPathElement
FontWeight sets the font-weight attribute.
func (*ClipPathElement) GlyphOrientationHorizontal ¶
func (e *ClipPathElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *ClipPathElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*ClipPathElement) GlyphOrientationVertical ¶
func (e *ClipPathElement) GlyphOrientationVertical(glyphOrientationVertical String) *ClipPathElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*ClipPathElement) ID ¶
func (e *ClipPathElement) ID(id String) *ClipPathElement
ID sets the id attribute.
func (*ClipPathElement) ImageRendering ¶
func (e *ClipPathElement) ImageRendering(imageRendering String) *ClipPathElement
ImageRendering sets the image-rendering attribute.
func (*ClipPathElement) Lang ¶
func (e *ClipPathElement) Lang(lang String) *ClipPathElement
Lang sets the lang attribute.
func (*ClipPathElement) LetterSpacing ¶
func (e *ClipPathElement) LetterSpacing(letterSpacing String) *ClipPathElement
LetterSpacing sets the letter-spacing attribute.
func (*ClipPathElement) LightingColor ¶
func (e *ClipPathElement) LightingColor(lightingColor String) *ClipPathElement
LightingColor sets the lighting-color attribute.
func (*ClipPathElement) MarkerEnd ¶
func (e *ClipPathElement) MarkerEnd(markerEnd String) *ClipPathElement
MarkerEnd sets the marker-end attribute.
func (*ClipPathElement) MarkerMid ¶
func (e *ClipPathElement) MarkerMid(markerMid String) *ClipPathElement
MarkerMid sets the marker-mid attribute.
func (*ClipPathElement) MarkerStart ¶
func (e *ClipPathElement) MarkerStart(markerStart String) *ClipPathElement
MarkerStart sets the marker-start attribute.
func (*ClipPathElement) MarshalXML ¶
func (e *ClipPathElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*ClipPathElement) Mask ¶
func (e *ClipPathElement) Mask(mask String) *ClipPathElement
Mask sets the mask attribute.
func (*ClipPathElement) Opacity ¶
func (e *ClipPathElement) Opacity(opacity Float64) *ClipPathElement
Opacity sets the opacity attribute.
func (*ClipPathElement) Overflow ¶
func (e *ClipPathElement) Overflow(overflow String) *ClipPathElement
Overflow sets the overflow attribute.
func (*ClipPathElement) PaintOrder ¶
func (e *ClipPathElement) PaintOrder(paintOrder String) *ClipPathElement
PaintOrder sets the paint-order attribute.
func (*ClipPathElement) PointerEvents ¶
func (e *ClipPathElement) PointerEvents(pointerEvents String) *ClipPathElement
PointerEvents sets the pointer-events attribute.
func (*ClipPathElement) ShapeRendering ¶
func (e *ClipPathElement) ShapeRendering(shapeRendering String) *ClipPathElement
ShapeRendering sets the shape-rendering attribute.
func (*ClipPathElement) StopColor ¶
func (e *ClipPathElement) StopColor(stopColor String) *ClipPathElement
StopColor sets the stop-color attribute.
func (*ClipPathElement) StopOpacity ¶
func (e *ClipPathElement) StopOpacity(stopOpacity Float64) *ClipPathElement
StopOpacity sets the stop-opacity attribute.
func (*ClipPathElement) Stroke ¶
func (e *ClipPathElement) Stroke(stroke String) *ClipPathElement
Stroke sets the stroke attribute.
func (*ClipPathElement) StrokeDashArray ¶
func (e *ClipPathElement) StrokeDashArray(strokeDashArray String) *ClipPathElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*ClipPathElement) StrokeDashOffset ¶
func (e *ClipPathElement) StrokeDashOffset(strokeDashOffset Float64) *ClipPathElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*ClipPathElement) StrokeLineCap ¶
func (e *ClipPathElement) StrokeLineCap(strokeLineCap String) *ClipPathElement
StrokeLineCap sets the stroke-linecap attribute.
func (*ClipPathElement) StrokeLineJoin ¶
func (e *ClipPathElement) StrokeLineJoin(strokeLineJoin String) *ClipPathElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*ClipPathElement) StrokeMiterLimit ¶
func (e *ClipPathElement) StrokeMiterLimit(strokeMiterLimit Float64) *ClipPathElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*ClipPathElement) StrokeOpacity ¶
func (e *ClipPathElement) StrokeOpacity(strokeOpacity Float64) *ClipPathElement
StrokeOpacity sets the stroke-opacity attribute.
func (*ClipPathElement) StrokeWidth ¶
func (e *ClipPathElement) StrokeWidth(strokeWidth Length) *ClipPathElement
StrokeWidth sets the stroke-width attribute.
func (*ClipPathElement) Style ¶
func (e *ClipPathElement) Style(style String) *ClipPathElement
Style sets the style attribute.
func (*ClipPathElement) TabIndex ¶
func (e *ClipPathElement) TabIndex(tabIndex Int) *ClipPathElement
TabIndex sets the tabindex attribute.
func (*ClipPathElement) TextAnchor ¶
func (e *ClipPathElement) TextAnchor(textAnchor String) *ClipPathElement
TextAnchor sets the text-anchor attribute.
func (*ClipPathElement) TextDecoration ¶
func (e *ClipPathElement) TextDecoration(textDecoration String) *ClipPathElement
TextDecoration sets the text-decoration attribute.
func (*ClipPathElement) TextOverflow ¶
func (e *ClipPathElement) TextOverflow(textOverflow String) *ClipPathElement
TextOverflow sets the text-overflow attribute.
func (*ClipPathElement) TextRendering ¶
func (e *ClipPathElement) TextRendering(textRendering String) *ClipPathElement
TextRendering sets the text-rendering attribute.
func (*ClipPathElement) Transform ¶
func (e *ClipPathElement) Transform(transform String) *ClipPathElement
Transform sets the transform attribute.
func (*ClipPathElement) UnicodeBiDi ¶
func (e *ClipPathElement) UnicodeBiDi(UnicodeBiDi String) *ClipPathElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*ClipPathElement) VectorEffect ¶
func (e *ClipPathElement) VectorEffect(vectorEffect String) *ClipPathElement
VectorEffect sets the vector-effect attribute.
func (*ClipPathElement) Visibility ¶
func (e *ClipPathElement) Visibility(visibility String) *ClipPathElement
Visibility sets the visibility attribute.
func (*ClipPathElement) WhiteSpace ¶
func (e *ClipPathElement) WhiteSpace(whiteSpace String) *ClipPathElement
WhiteSpace sets the white-space attribute.
func (*ClipPathElement) WordSpacing ¶
func (e *ClipPathElement) WordSpacing(wordSpacing String) *ClipPathElement
WordSpacing sets the word-spacing attribute.
func (*ClipPathElement) WritingMode ¶
func (e *ClipPathElement) WritingMode(writingMode String) *ClipPathElement
WritingMode sets the writing-mode attribute.
type Comment ¶
type Comment []byte
A Comment is a comment.
func (Comment) MarshalXML ¶
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
type DefsElement ¶
A DefsElement is a defs element.
func (*DefsElement) AppendChildren ¶
func (e *DefsElement) AppendChildren(children ...Element) *DefsElement
AppendChildren appends the given children.
func (*DefsElement) MarshalXML ¶
func (e *DefsElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
type DescElement ¶
A DescElement is a desc element.
func (*DescElement) AppendChildren ¶
func (e *DescElement) AppendChildren(children ...Element) *DescElement
AppendChildren appends the given children.
func (*DescElement) MarshalXML ¶
func (e *DescElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
type EllipseElement ¶
An EllipseElement is an ellipse element.
func Ellipse ¶
func Ellipse(children ...Element) *EllipseElement
Ellipse returns a new EllipseElement.
func (*EllipseElement) AlignmentBaseline ¶
func (e *EllipseElement) AlignmentBaseline(alignmentBaseline String) *EllipseElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*EllipseElement) AppendChildren ¶
func (e *EllipseElement) AppendChildren(children ...Element) *EllipseElement
AppendChildren appends the given children.
func (*EllipseElement) BaselineShift ¶
func (e *EllipseElement) BaselineShift(baselineShift String) *EllipseElement
BaselineShift sets the baseline-shift attribute.
func (*EllipseElement) CX ¶
func (e *EllipseElement) CX(cx Length) *EllipseElement
CX sets the cx attribute.
func (*EllipseElement) CXCY ¶
func (e *EllipseElement) CXCY(cx, cy float64, lengthFunc LengthFunc) *EllipseElement
CXCY sets the cx and cy attributes.
func (*EllipseElement) CY ¶
func (e *EllipseElement) CY(cy Length) *EllipseElement
CY sets the cy attribute.
func (*EllipseElement) Class ¶
func (e *EllipseElement) Class(class String) *EllipseElement
Class sets the class attribute.
func (*EllipseElement) ClipPath ¶
func (e *EllipseElement) ClipPath(clipPath String) *EllipseElement
ClipPath sets the clip-path attribute.
func (*EllipseElement) ClipRule ¶
func (e *EllipseElement) ClipRule(clipRule String) *EllipseElement
ClipRule sets the clip-rule attribute.
func (*EllipseElement) Color ¶
func (e *EllipseElement) Color(color String) *EllipseElement
Color sets the color attribute.
func (*EllipseElement) ColorInterpolation ¶
func (e *EllipseElement) ColorInterpolation(colorInterpolation String) *EllipseElement
ColorInterpolation sets the color-interpolation attribute.
func (*EllipseElement) ColorInterpolationFilters ¶
func (e *EllipseElement) ColorInterpolationFilters(colorInterpolationFilters String) *EllipseElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*EllipseElement) ColorRendering ¶
func (e *EllipseElement) ColorRendering(colorRendering String) *EllipseElement
ColorRendering sets the color-rendering attribute.
func (*EllipseElement) Cursor ¶
func (e *EllipseElement) Cursor(cursor String) *EllipseElement
Cursor sets the cursor attribute.
func (*EllipseElement) Direction ¶
func (e *EllipseElement) Direction(direction String) *EllipseElement
Direction sets the direction attribute.
func (*EllipseElement) Display ¶
func (e *EllipseElement) Display(display String) *EllipseElement
Display sets the display attribute.
func (*EllipseElement) DominantBaseline ¶
func (e *EllipseElement) DominantBaseline(dominantBaseline String) *EllipseElement
DominantBaseline sets the dominant-baseline attribute.
func (*EllipseElement) Fill ¶
func (e *EllipseElement) Fill(fill String) *EllipseElement
Fill sets the fill attribute.
func (*EllipseElement) FillOpacity ¶
func (e *EllipseElement) FillOpacity(fillOpacity Float64) *EllipseElement
FillOpacity sets the fill-opacity attribute.
func (*EllipseElement) FillRule ¶
func (e *EllipseElement) FillRule(fillRule String) *EllipseElement
FillRule sets the fill-rule attribute.
func (*EllipseElement) Filter ¶
func (e *EllipseElement) Filter(filter String) *EllipseElement
Filter sets the filter attribute.
func (*EllipseElement) FloodColor ¶
func (e *EllipseElement) FloodColor(floodColor String) *EllipseElement
FloodColor sets the flood-color attribute.
func (*EllipseElement) FloodOpacity ¶
func (e *EllipseElement) FloodOpacity(floodOpacity Float64) *EllipseElement
FloodOpacity sets the flood-opacity attribute.
func (*EllipseElement) FontFamily ¶
func (e *EllipseElement) FontFamily(fontFamily String) *EllipseElement
FontFamily sets the font-family attribute.
func (*EllipseElement) FontSize ¶
func (e *EllipseElement) FontSize(fontSize String) *EllipseElement
FontSize sets the font-size attribute.
func (*EllipseElement) FontSizeAdjust ¶
func (e *EllipseElement) FontSizeAdjust(fontSizeAdjust String) *EllipseElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*EllipseElement) FontStretch ¶
func (e *EllipseElement) FontStretch(fontStretch String) *EllipseElement
FontStretch sets the font-stretch attribute.
func (*EllipseElement) FontStyle ¶
func (e *EllipseElement) FontStyle(fontStyle String) *EllipseElement
FontStyle sets the font-style attribute.
func (*EllipseElement) FontVariant ¶
func (e *EllipseElement) FontVariant(fontVariant String) *EllipseElement
FontVariant sets the font-variant attribute.
func (*EllipseElement) FontWeight ¶
func (e *EllipseElement) FontWeight(fontWeight String) *EllipseElement
FontWeight sets the font-weight attribute.
func (*EllipseElement) GlyphOrientationHorizontal ¶
func (e *EllipseElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *EllipseElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*EllipseElement) GlyphOrientationVertical ¶
func (e *EllipseElement) GlyphOrientationVertical(glyphOrientationVertical String) *EllipseElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*EllipseElement) ID ¶
func (e *EllipseElement) ID(id String) *EllipseElement
ID sets the id attribute.
func (*EllipseElement) ImageRendering ¶
func (e *EllipseElement) ImageRendering(imageRendering String) *EllipseElement
ImageRendering sets the image-rendering attribute.
func (*EllipseElement) Lang ¶
func (e *EllipseElement) Lang(lang String) *EllipseElement
Lang sets the lang attribute.
func (*EllipseElement) LetterSpacing ¶
func (e *EllipseElement) LetterSpacing(letterSpacing String) *EllipseElement
LetterSpacing sets the letter-spacing attribute.
func (*EllipseElement) LightingColor ¶
func (e *EllipseElement) LightingColor(lightingColor String) *EllipseElement
LightingColor sets the lighting-color attribute.
func (*EllipseElement) MarkerEnd ¶
func (e *EllipseElement) MarkerEnd(markerEnd String) *EllipseElement
MarkerEnd sets the marker-end attribute.
func (*EllipseElement) MarkerMid ¶
func (e *EllipseElement) MarkerMid(markerMid String) *EllipseElement
MarkerMid sets the marker-mid attribute.
func (*EllipseElement) MarkerStart ¶
func (e *EllipseElement) MarkerStart(markerStart String) *EllipseElement
MarkerStart sets the marker-start attribute.
func (*EllipseElement) MarshalXML ¶
func (e *EllipseElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*EllipseElement) Mask ¶
func (e *EllipseElement) Mask(mask String) *EllipseElement
Mask sets the mask attribute.
func (*EllipseElement) Opacity ¶
func (e *EllipseElement) Opacity(opacity Float64) *EllipseElement
Opacity sets the opacity attribute.
func (*EllipseElement) Overflow ¶
func (e *EllipseElement) Overflow(overflow String) *EllipseElement
Overflow sets the overflow attribute.
func (*EllipseElement) PaintOrder ¶
func (e *EllipseElement) PaintOrder(paintOrder String) *EllipseElement
PaintOrder sets the paint-order attribute.
func (*EllipseElement) PathLength ¶
func (e *EllipseElement) PathLength(pathLength String) *EllipseElement
PathLength sets the pathLength attribute.
func (*EllipseElement) PointerEvents ¶
func (e *EllipseElement) PointerEvents(pointerEvents String) *EllipseElement
PointerEvents sets the pointer-events attribute.
func (*EllipseElement) RX ¶
func (e *EllipseElement) RX(rx Length) *EllipseElement
RX sets the rx attribute.
func (*EllipseElement) RXRY ¶
func (e *EllipseElement) RXRY(rx, ry float64, lengthFunc LengthFunc) *EllipseElement
RXRY sets the rx and ry attributes.
func (*EllipseElement) RY ¶
func (e *EllipseElement) RY(ry Length) *EllipseElement
RY sets the ry attribute.
func (*EllipseElement) ShapeRendering ¶
func (e *EllipseElement) ShapeRendering(shapeRendering String) *EllipseElement
ShapeRendering sets the shape-rendering attribute.
func (*EllipseElement) StopColor ¶
func (e *EllipseElement) StopColor(stopColor String) *EllipseElement
StopColor sets the stop-color attribute.
func (*EllipseElement) StopOpacity ¶
func (e *EllipseElement) StopOpacity(stopOpacity Float64) *EllipseElement
StopOpacity sets the stop-opacity attribute.
func (*EllipseElement) Stroke ¶
func (e *EllipseElement) Stroke(stroke String) *EllipseElement
Stroke sets the stroke attribute.
func (*EllipseElement) StrokeDashArray ¶
func (e *EllipseElement) StrokeDashArray(strokeDashArray String) *EllipseElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*EllipseElement) StrokeDashOffset ¶
func (e *EllipseElement) StrokeDashOffset(strokeDashOffset Float64) *EllipseElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*EllipseElement) StrokeLineCap ¶
func (e *EllipseElement) StrokeLineCap(strokeLineCap String) *EllipseElement
StrokeLineCap sets the stroke-linecap attribute.
func (*EllipseElement) StrokeLineJoin ¶
func (e *EllipseElement) StrokeLineJoin(strokeLineJoin String) *EllipseElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*EllipseElement) StrokeMiterLimit ¶
func (e *EllipseElement) StrokeMiterLimit(strokeMiterLimit Float64) *EllipseElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*EllipseElement) StrokeOpacity ¶
func (e *EllipseElement) StrokeOpacity(strokeOpacity Float64) *EllipseElement
StrokeOpacity sets the stroke-opacity attribute.
func (*EllipseElement) StrokeWidth ¶
func (e *EllipseElement) StrokeWidth(strokeWidth Length) *EllipseElement
StrokeWidth sets the stroke-width attribute.
func (*EllipseElement) Style ¶
func (e *EllipseElement) Style(style String) *EllipseElement
Style sets the style attribute.
func (*EllipseElement) TabIndex ¶
func (e *EllipseElement) TabIndex(tabIndex Int) *EllipseElement
TabIndex sets the tabindex attribute.
func (*EllipseElement) TextAnchor ¶
func (e *EllipseElement) TextAnchor(textAnchor String) *EllipseElement
TextAnchor sets the text-anchor attribute.
func (*EllipseElement) TextDecoration ¶
func (e *EllipseElement) TextDecoration(textDecoration String) *EllipseElement
TextDecoration sets the text-decoration attribute.
func (*EllipseElement) TextOverflow ¶
func (e *EllipseElement) TextOverflow(textOverflow String) *EllipseElement
TextOverflow sets the text-overflow attribute.
func (*EllipseElement) TextRendering ¶
func (e *EllipseElement) TextRendering(textRendering String) *EllipseElement
TextRendering sets the text-rendering attribute.
func (*EllipseElement) UnicodeBiDi ¶
func (e *EllipseElement) UnicodeBiDi(UnicodeBiDi String) *EllipseElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*EllipseElement) VectorEffect ¶
func (e *EllipseElement) VectorEffect(vectorEffect String) *EllipseElement
VectorEffect sets the vector-effect attribute.
func (*EllipseElement) Visibility ¶
func (e *EllipseElement) Visibility(visibility String) *EllipseElement
Visibility sets the visibility attribute.
func (*EllipseElement) WhiteSpace ¶
func (e *EllipseElement) WhiteSpace(whiteSpace String) *EllipseElement
WhiteSpace sets the white-space attribute.
func (*EllipseElement) WordSpacing ¶
func (e *EllipseElement) WordSpacing(wordSpacing String) *EllipseElement
WordSpacing sets the word-spacing attribute.
func (*EllipseElement) WritingMode ¶
func (e *EllipseElement) WritingMode(writingMode String) *EllipseElement
WritingMode sets the writing-mode attribute.
type ForeignObjectElement ¶
A ForeignObjectElement is a foreignObject element.
func ForeignObject ¶
func ForeignObject(children ...Element) *ForeignObjectElement
ForeignObject returns a new ForeignObjectElement.
func (*ForeignObjectElement) AlignmentBaseline ¶
func (e *ForeignObjectElement) AlignmentBaseline(alignmentBaseline String) *ForeignObjectElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*ForeignObjectElement) AppendChildren ¶
func (e *ForeignObjectElement) AppendChildren(children ...Element) *ForeignObjectElement
AppendChildren appends the given children.
func (*ForeignObjectElement) BaselineShift ¶
func (e *ForeignObjectElement) BaselineShift(baselineShift String) *ForeignObjectElement
BaselineShift sets the baseline-shift attribute.
func (*ForeignObjectElement) Class ¶
func (e *ForeignObjectElement) Class(class String) *ForeignObjectElement
Class sets the class attribute.
func (*ForeignObjectElement) ClipPath ¶
func (e *ForeignObjectElement) ClipPath(clipPath String) *ForeignObjectElement
ClipPath sets the clip-path attribute.
func (*ForeignObjectElement) ClipRule ¶
func (e *ForeignObjectElement) ClipRule(clipRule String) *ForeignObjectElement
ClipRule sets the clip-rule attribute.
func (*ForeignObjectElement) Color ¶
func (e *ForeignObjectElement) Color(color String) *ForeignObjectElement
Color sets the color attribute.
func (*ForeignObjectElement) ColorInterpolation ¶
func (e *ForeignObjectElement) ColorInterpolation(colorInterpolation String) *ForeignObjectElement
ColorInterpolation sets the color-interpolation attribute.
func (*ForeignObjectElement) ColorInterpolationFilters ¶
func (e *ForeignObjectElement) ColorInterpolationFilters(colorInterpolationFilters String) *ForeignObjectElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*ForeignObjectElement) ColorRendering ¶
func (e *ForeignObjectElement) ColorRendering(colorRendering String) *ForeignObjectElement
ColorRendering sets the color-rendering attribute.
func (*ForeignObjectElement) Cursor ¶
func (e *ForeignObjectElement) Cursor(cursor String) *ForeignObjectElement
Cursor sets the cursor attribute.
func (*ForeignObjectElement) Direction ¶
func (e *ForeignObjectElement) Direction(direction String) *ForeignObjectElement
Direction sets the direction attribute.
func (*ForeignObjectElement) Display ¶
func (e *ForeignObjectElement) Display(display String) *ForeignObjectElement
Display sets the display attribute.
func (*ForeignObjectElement) DominantBaseline ¶
func (e *ForeignObjectElement) DominantBaseline(dominantBaseline String) *ForeignObjectElement
DominantBaseline sets the dominant-baseline attribute.
func (*ForeignObjectElement) Fill ¶
func (e *ForeignObjectElement) Fill(fill String) *ForeignObjectElement
Fill sets the fill attribute.
func (*ForeignObjectElement) FillOpacity ¶
func (e *ForeignObjectElement) FillOpacity(fillOpacity Float64) *ForeignObjectElement
FillOpacity sets the fill-opacity attribute.
func (*ForeignObjectElement) FillRule ¶
func (e *ForeignObjectElement) FillRule(fillRule String) *ForeignObjectElement
FillRule sets the fill-rule attribute.
func (*ForeignObjectElement) Filter ¶
func (e *ForeignObjectElement) Filter(filter String) *ForeignObjectElement
Filter sets the filter attribute.
func (*ForeignObjectElement) FloodColor ¶
func (e *ForeignObjectElement) FloodColor(floodColor String) *ForeignObjectElement
FloodColor sets the flood-color attribute.
func (*ForeignObjectElement) FloodOpacity ¶
func (e *ForeignObjectElement) FloodOpacity(floodOpacity Float64) *ForeignObjectElement
FloodOpacity sets the flood-opacity attribute.
func (*ForeignObjectElement) FontFamily ¶
func (e *ForeignObjectElement) FontFamily(fontFamily String) *ForeignObjectElement
FontFamily sets the font-family attribute.
func (*ForeignObjectElement) FontSize ¶
func (e *ForeignObjectElement) FontSize(fontSize String) *ForeignObjectElement
FontSize sets the font-size attribute.
func (*ForeignObjectElement) FontSizeAdjust ¶
func (e *ForeignObjectElement) FontSizeAdjust(fontSizeAdjust String) *ForeignObjectElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*ForeignObjectElement) FontStretch ¶
func (e *ForeignObjectElement) FontStretch(fontStretch String) *ForeignObjectElement
FontStretch sets the font-stretch attribute.
func (*ForeignObjectElement) FontStyle ¶
func (e *ForeignObjectElement) FontStyle(fontStyle String) *ForeignObjectElement
FontStyle sets the font-style attribute.
func (*ForeignObjectElement) FontVariant ¶
func (e *ForeignObjectElement) FontVariant(fontVariant String) *ForeignObjectElement
FontVariant sets the font-variant attribute.
func (*ForeignObjectElement) FontWeight ¶
func (e *ForeignObjectElement) FontWeight(fontWeight String) *ForeignObjectElement
FontWeight sets the font-weight attribute.
func (*ForeignObjectElement) GlyphOrientationHorizontal ¶
func (e *ForeignObjectElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *ForeignObjectElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*ForeignObjectElement) GlyphOrientationVertical ¶
func (e *ForeignObjectElement) GlyphOrientationVertical(glyphOrientationVertical String) *ForeignObjectElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*ForeignObjectElement) Height ¶
func (e *ForeignObjectElement) Height(height Length) *ForeignObjectElement
Height sets the height attribute.
func (*ForeignObjectElement) Href ¶
func (e *ForeignObjectElement) Href(href String) *ForeignObjectElement
Href sets the href attribute.
func (*ForeignObjectElement) ID ¶
func (e *ForeignObjectElement) ID(id String) *ForeignObjectElement
ID sets the id attribute.
func (*ForeignObjectElement) ImageRendering ¶
func (e *ForeignObjectElement) ImageRendering(imageRendering String) *ForeignObjectElement
ImageRendering sets the image-rendering attribute.
func (*ForeignObjectElement) Lang ¶
func (e *ForeignObjectElement) Lang(lang String) *ForeignObjectElement
Lang sets the lang attribute.
func (*ForeignObjectElement) LetterSpacing ¶
func (e *ForeignObjectElement) LetterSpacing(letterSpacing String) *ForeignObjectElement
LetterSpacing sets the letter-spacing attribute.
func (*ForeignObjectElement) LightingColor ¶
func (e *ForeignObjectElement) LightingColor(lightingColor String) *ForeignObjectElement
LightingColor sets the lighting-color attribute.
func (*ForeignObjectElement) MarkerEnd ¶
func (e *ForeignObjectElement) MarkerEnd(markerEnd String) *ForeignObjectElement
MarkerEnd sets the marker-end attribute.
func (*ForeignObjectElement) MarkerMid ¶
func (e *ForeignObjectElement) MarkerMid(markerMid String) *ForeignObjectElement
MarkerMid sets the marker-mid attribute.
func (*ForeignObjectElement) MarkerStart ¶
func (e *ForeignObjectElement) MarkerStart(markerStart String) *ForeignObjectElement
MarkerStart sets the marker-start attribute.
func (*ForeignObjectElement) MarshalXML ¶
func (e *ForeignObjectElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*ForeignObjectElement) Mask ¶
func (e *ForeignObjectElement) Mask(mask String) *ForeignObjectElement
Mask sets the mask attribute.
func (*ForeignObjectElement) Opacity ¶
func (e *ForeignObjectElement) Opacity(opacity Float64) *ForeignObjectElement
Opacity sets the opacity attribute.
func (*ForeignObjectElement) Overflow ¶
func (e *ForeignObjectElement) Overflow(overflow String) *ForeignObjectElement
Overflow sets the overflow attribute.
func (*ForeignObjectElement) PaintOrder ¶
func (e *ForeignObjectElement) PaintOrder(paintOrder String) *ForeignObjectElement
PaintOrder sets the paint-order attribute.
func (*ForeignObjectElement) PointerEvents ¶
func (e *ForeignObjectElement) PointerEvents(pointerEvents String) *ForeignObjectElement
PointerEvents sets the pointer-events attribute.
func (*ForeignObjectElement) RequiredExtensions ¶
func (e *ForeignObjectElement) RequiredExtensions(requiredExtensions String) *ForeignObjectElement
RequiredExtensions sets the requiredExtensions attribute.
func (*ForeignObjectElement) ShapeRendering ¶
func (e *ForeignObjectElement) ShapeRendering(shapeRendering String) *ForeignObjectElement
ShapeRendering sets the shape-rendering attribute.
func (*ForeignObjectElement) StopColor ¶
func (e *ForeignObjectElement) StopColor(stopColor String) *ForeignObjectElement
StopColor sets the stop-color attribute.
func (*ForeignObjectElement) StopOpacity ¶
func (e *ForeignObjectElement) StopOpacity(stopOpacity Float64) *ForeignObjectElement
StopOpacity sets the stop-opacity attribute.
func (*ForeignObjectElement) Stroke ¶
func (e *ForeignObjectElement) Stroke(stroke String) *ForeignObjectElement
Stroke sets the stroke attribute.
func (*ForeignObjectElement) StrokeDashArray ¶
func (e *ForeignObjectElement) StrokeDashArray(strokeDashArray String) *ForeignObjectElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*ForeignObjectElement) StrokeDashOffset ¶
func (e *ForeignObjectElement) StrokeDashOffset(strokeDashOffset Float64) *ForeignObjectElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*ForeignObjectElement) StrokeLineCap ¶
func (e *ForeignObjectElement) StrokeLineCap(strokeLineCap String) *ForeignObjectElement
StrokeLineCap sets the stroke-linecap attribute.
func (*ForeignObjectElement) StrokeLineJoin ¶
func (e *ForeignObjectElement) StrokeLineJoin(strokeLineJoin String) *ForeignObjectElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*ForeignObjectElement) StrokeMiterLimit ¶
func (e *ForeignObjectElement) StrokeMiterLimit(strokeMiterLimit Float64) *ForeignObjectElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*ForeignObjectElement) StrokeOpacity ¶
func (e *ForeignObjectElement) StrokeOpacity(strokeOpacity Float64) *ForeignObjectElement
StrokeOpacity sets the stroke-opacity attribute.
func (*ForeignObjectElement) StrokeWidth ¶
func (e *ForeignObjectElement) StrokeWidth(strokeWidth Length) *ForeignObjectElement
StrokeWidth sets the stroke-width attribute.
func (*ForeignObjectElement) Style ¶
func (e *ForeignObjectElement) Style(style String) *ForeignObjectElement
Style sets the style attribute.
func (*ForeignObjectElement) SystemLanguage ¶
func (e *ForeignObjectElement) SystemLanguage(systemLanguage String) *ForeignObjectElement
SystemLanguage sets the systemLanguage attribute.
func (*ForeignObjectElement) TabIndex ¶
func (e *ForeignObjectElement) TabIndex(tabIndex Int) *ForeignObjectElement
TabIndex sets the tabindex attribute.
func (*ForeignObjectElement) TextAnchor ¶
func (e *ForeignObjectElement) TextAnchor(textAnchor String) *ForeignObjectElement
TextAnchor sets the text-anchor attribute.
func (*ForeignObjectElement) TextDecoration ¶
func (e *ForeignObjectElement) TextDecoration(textDecoration String) *ForeignObjectElement
TextDecoration sets the text-decoration attribute.
func (*ForeignObjectElement) TextOverflow ¶
func (e *ForeignObjectElement) TextOverflow(textOverflow String) *ForeignObjectElement
TextOverflow sets the text-overflow attribute.
func (*ForeignObjectElement) TextRendering ¶
func (e *ForeignObjectElement) TextRendering(textRendering String) *ForeignObjectElement
TextRendering sets the text-rendering attribute.
func (*ForeignObjectElement) UnicodeBiDi ¶
func (e *ForeignObjectElement) UnicodeBiDi(UnicodeBiDi String) *ForeignObjectElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*ForeignObjectElement) VectorEffect ¶
func (e *ForeignObjectElement) VectorEffect(vectorEffect String) *ForeignObjectElement
VectorEffect sets the vector-effect attribute.
func (*ForeignObjectElement) Visibility ¶
func (e *ForeignObjectElement) Visibility(visibility String) *ForeignObjectElement
Visibility sets the visibility attribute.
func (*ForeignObjectElement) WhiteSpace ¶
func (e *ForeignObjectElement) WhiteSpace(whiteSpace String) *ForeignObjectElement
WhiteSpace sets the white-space attribute.
func (*ForeignObjectElement) Width ¶
func (e *ForeignObjectElement) Width(width Length) *ForeignObjectElement
Width sets the width attribute.
func (*ForeignObjectElement) WidthHeight ¶
func (e *ForeignObjectElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *ForeignObjectElement
WidthHeight sets the width and height attributes.
func (*ForeignObjectElement) WordSpacing ¶
func (e *ForeignObjectElement) WordSpacing(wordSpacing String) *ForeignObjectElement
WordSpacing sets the word-spacing attribute.
func (*ForeignObjectElement) WritingMode ¶
func (e *ForeignObjectElement) WritingMode(writingMode String) *ForeignObjectElement
WritingMode sets the writing-mode attribute.
func (*ForeignObjectElement) X ¶
func (e *ForeignObjectElement) X(x Length) *ForeignObjectElement
X sets the x attribute.
func (*ForeignObjectElement) XY ¶
func (e *ForeignObjectElement) XY(x, y float64, lengthFunc LengthFunc) *ForeignObjectElement
XY sets the x and y attributes.
func (*ForeignObjectElement) XYWidthHeight ¶
func (e *ForeignObjectElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *ForeignObjectElement
XYWidthHeight sets the x, y, width, and height attributes.
func (*ForeignObjectElement) Y ¶
func (e *ForeignObjectElement) Y(y Length) *ForeignObjectElement
Y sets the y attribute.
type GElement ¶
A GElement is a g element.
func (*GElement) AlignmentBaseline ¶
AlignmentBaseline sets the alignment-baseline attribute.
func (*GElement) AppendChildren ¶
AppendChildren appends the given children.
func (*GElement) BaselineShift ¶
BaselineShift sets the baseline-shift attribute.
func (*GElement) ColorInterpolation ¶
ColorInterpolation sets the color-interpolation attribute.
func (*GElement) ColorInterpolationFilters ¶
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*GElement) ColorRendering ¶
ColorRendering sets the color-rendering attribute.
func (*GElement) DominantBaseline ¶
DominantBaseline sets the dominant-baseline attribute.
func (*GElement) FillOpacity ¶
FillOpacity sets the fill-opacity attribute.
func (*GElement) FloodColor ¶
FloodColor sets the flood-color attribute.
func (*GElement) FloodOpacity ¶
FloodOpacity sets the flood-opacity attribute.
func (*GElement) FontFamily ¶
FontFamily sets the font-family attribute.
func (*GElement) FontSizeAdjust ¶
FontSizeAdjust sets the font-size-adjust attribute.
func (*GElement) FontStretch ¶
FontStretch sets the font-stretch attribute.
func (*GElement) FontVariant ¶
FontVariant sets the font-variant attribute.
func (*GElement) FontWeight ¶
FontWeight sets the font-weight attribute.
func (*GElement) GlyphOrientationHorizontal ¶
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*GElement) GlyphOrientationVertical ¶
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*GElement) ImageRendering ¶
ImageRendering sets the image-rendering attribute.
func (*GElement) LetterSpacing ¶
LetterSpacing sets the letter-spacing attribute.
func (*GElement) LightingColor ¶
LightingColor sets the lighting-color attribute.
func (*GElement) MarkerStart ¶
MarkerStart sets the marker-start attribute.
func (*GElement) MarshalXML ¶
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*GElement) PaintOrder ¶
PaintOrder sets the paint-order attribute.
func (*GElement) PointerEvents ¶
PointerEvents sets the pointer-events attribute.
func (*GElement) ShapeRendering ¶
ShapeRendering sets the shape-rendering attribute.
func (*GElement) StopOpacity ¶
StopOpacity sets the stop-opacity attribute.
func (*GElement) StrokeDashArray ¶
StrokeDashArray sets the stroke-dasharray attribute.
func (*GElement) StrokeDashOffset ¶
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*GElement) StrokeLineCap ¶
StrokeLineCap sets the stroke-linecap attribute.
func (*GElement) StrokeLineJoin ¶
StrokeLineJoin sets the stroke-linejoin attribute.
func (*GElement) StrokeMiterLimit ¶
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*GElement) StrokeOpacity ¶
StrokeOpacity sets the stroke-opacity attribute.
func (*GElement) StrokeWidth ¶
StrokeWidth sets the stroke-width attribute.
func (*GElement) TextAnchor ¶
TextAnchor sets the text-anchor attribute.
func (*GElement) TextDecoration ¶
TextDecoration sets the text-decoration attribute.
func (*GElement) TextOverflow ¶
TextOverflow sets the text-overflow attribute.
func (*GElement) TextRendering ¶
TextRendering sets the text-rendering attribute.
func (*GElement) UnicodeBiDi ¶
UnicodeBiDi sets the unicode-bidi attribute.
func (*GElement) VectorEffect ¶
VectorEffect sets the vector-effect attribute.
func (*GElement) Visibility ¶
Visibility sets the visibility attribute.
func (*GElement) WhiteSpace ¶
WhiteSpace sets the white-space attribute.
func (*GElement) WordSpacing ¶
WordSpacing sets the word-spacing attribute.
func (*GElement) WritingMode ¶
WritingMode sets the writing-mode attribute.
type ImageElement ¶
A ImageElement is a image element.
func (*ImageElement) AlignmentBaseline ¶
func (e *ImageElement) AlignmentBaseline(alignmentBaseline String) *ImageElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*ImageElement) BaselineShift ¶
func (e *ImageElement) BaselineShift(baselineShift String) *ImageElement
BaselineShift sets the baseline-shift attribute.
func (*ImageElement) Class ¶
func (e *ImageElement) Class(class String) *ImageElement
Class sets the class attribute.
func (*ImageElement) ClipPath ¶
func (e *ImageElement) ClipPath(clipPath String) *ImageElement
ClipPath sets the clip-path attribute.
func (*ImageElement) ClipRule ¶
func (e *ImageElement) ClipRule(clipRule String) *ImageElement
ClipRule sets the clip-rule attribute.
func (*ImageElement) Color ¶
func (e *ImageElement) Color(color String) *ImageElement
Color sets the color attribute.
func (*ImageElement) ColorInterpolation ¶
func (e *ImageElement) ColorInterpolation(colorInterpolation String) *ImageElement
ColorInterpolation sets the color-interpolation attribute.
func (*ImageElement) ColorInterpolationFilters ¶
func (e *ImageElement) ColorInterpolationFilters(colorInterpolationFilters String) *ImageElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*ImageElement) ColorRendering ¶
func (e *ImageElement) ColorRendering(colorRendering String) *ImageElement
ColorRendering sets the color-rendering attribute.
func (*ImageElement) CrossOrigin ¶
func (e *ImageElement) CrossOrigin(crossOrigin String) *ImageElement
CrossOrigin sets the crossorigin attribute.
func (*ImageElement) Cursor ¶
func (e *ImageElement) Cursor(cursor String) *ImageElement
Cursor sets the cursor attribute.
func (*ImageElement) Direction ¶
func (e *ImageElement) Direction(direction String) *ImageElement
Direction sets the direction attribute.
func (*ImageElement) Display ¶
func (e *ImageElement) Display(display String) *ImageElement
Display sets the display attribute.
func (*ImageElement) DominantBaseline ¶
func (e *ImageElement) DominantBaseline(dominantBaseline String) *ImageElement
DominantBaseline sets the dominant-baseline attribute.
func (*ImageElement) Fill ¶
func (e *ImageElement) Fill(fill String) *ImageElement
Fill sets the fill attribute.
func (*ImageElement) FillOpacity ¶
func (e *ImageElement) FillOpacity(fillOpacity Float64) *ImageElement
FillOpacity sets the fill-opacity attribute.
func (*ImageElement) FillRule ¶
func (e *ImageElement) FillRule(fillRule String) *ImageElement
FillRule sets the fill-rule attribute.
func (*ImageElement) Filter ¶
func (e *ImageElement) Filter(filter String) *ImageElement
Filter sets the filter attribute.
func (*ImageElement) FloodColor ¶
func (e *ImageElement) FloodColor(floodColor String) *ImageElement
FloodColor sets the flood-color attribute.
func (*ImageElement) FloodOpacity ¶
func (e *ImageElement) FloodOpacity(floodOpacity Float64) *ImageElement
FloodOpacity sets the flood-opacity attribute.
func (*ImageElement) FontFamily ¶
func (e *ImageElement) FontFamily(fontFamily String) *ImageElement
FontFamily sets the font-family attribute.
func (*ImageElement) FontSize ¶
func (e *ImageElement) FontSize(fontSize String) *ImageElement
FontSize sets the font-size attribute.
func (*ImageElement) FontSizeAdjust ¶
func (e *ImageElement) FontSizeAdjust(fontSizeAdjust String) *ImageElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*ImageElement) FontStretch ¶
func (e *ImageElement) FontStretch(fontStretch String) *ImageElement
FontStretch sets the font-stretch attribute.
func (*ImageElement) FontStyle ¶
func (e *ImageElement) FontStyle(fontStyle String) *ImageElement
FontStyle sets the font-style attribute.
func (*ImageElement) FontVariant ¶
func (e *ImageElement) FontVariant(fontVariant String) *ImageElement
FontVariant sets the font-variant attribute.
func (*ImageElement) FontWeight ¶
func (e *ImageElement) FontWeight(fontWeight String) *ImageElement
FontWeight sets the font-weight attribute.
func (*ImageElement) GlyphOrientationHorizontal ¶
func (e *ImageElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *ImageElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*ImageElement) GlyphOrientationVertical ¶
func (e *ImageElement) GlyphOrientationVertical(glyphOrientationVertical String) *ImageElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*ImageElement) Height ¶
func (e *ImageElement) Height(height Length) *ImageElement
Height sets the height attribute.
func (*ImageElement) Href ¶
func (e *ImageElement) Href(href String) *ImageElement
Href sets the href attribute.
func (*ImageElement) ID ¶
func (e *ImageElement) ID(id String) *ImageElement
ID sets the id attribute.
func (*ImageElement) ImageRendering ¶
func (e *ImageElement) ImageRendering(imageRendering String) *ImageElement
ImageRendering sets the image-rendering attribute.
func (*ImageElement) Lang ¶
func (e *ImageElement) Lang(lang String) *ImageElement
Lang sets the lang attribute.
func (*ImageElement) LetterSpacing ¶
func (e *ImageElement) LetterSpacing(letterSpacing String) *ImageElement
LetterSpacing sets the letter-spacing attribute.
func (*ImageElement) LightingColor ¶
func (e *ImageElement) LightingColor(lightingColor String) *ImageElement
LightingColor sets the lighting-color attribute.
func (*ImageElement) MarkerEnd ¶
func (e *ImageElement) MarkerEnd(markerEnd String) *ImageElement
MarkerEnd sets the marker-end attribute.
func (*ImageElement) MarkerMid ¶
func (e *ImageElement) MarkerMid(markerMid String) *ImageElement
MarkerMid sets the marker-mid attribute.
func (*ImageElement) MarkerStart ¶
func (e *ImageElement) MarkerStart(markerStart String) *ImageElement
MarkerStart sets the marker-start attribute.
func (*ImageElement) MarshalXML ¶
func (e *ImageElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*ImageElement) Mask ¶
func (e *ImageElement) Mask(mask String) *ImageElement
Mask sets the mask attribute.
func (*ImageElement) Opacity ¶
func (e *ImageElement) Opacity(opacity Float64) *ImageElement
Opacity sets the opacity attribute.
func (*ImageElement) Overflow ¶
func (e *ImageElement) Overflow(overflow String) *ImageElement
Overflow sets the overflow attribute.
func (*ImageElement) PaintOrder ¶
func (e *ImageElement) PaintOrder(paintOrder String) *ImageElement
PaintOrder sets the paint-order attribute.
func (*ImageElement) PointerEvents ¶
func (e *ImageElement) PointerEvents(pointerEvents String) *ImageElement
PointerEvents sets the pointer-events attribute.
func (*ImageElement) PreserveAspectRatio ¶
func (e *ImageElement) PreserveAspectRatio(preserveAspectRatio String) *ImageElement
PreserveAspectRatio sets the preserveAspectRatio attribute.
func (*ImageElement) ShapeRendering ¶
func (e *ImageElement) ShapeRendering(shapeRendering String) *ImageElement
ShapeRendering sets the shape-rendering attribute.
func (*ImageElement) StopColor ¶
func (e *ImageElement) StopColor(stopColor String) *ImageElement
StopColor sets the stop-color attribute.
func (*ImageElement) StopOpacity ¶
func (e *ImageElement) StopOpacity(stopOpacity Float64) *ImageElement
StopOpacity sets the stop-opacity attribute.
func (*ImageElement) Stroke ¶
func (e *ImageElement) Stroke(stroke String) *ImageElement
Stroke sets the stroke attribute.
func (*ImageElement) StrokeDashArray ¶
func (e *ImageElement) StrokeDashArray(strokeDashArray String) *ImageElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*ImageElement) StrokeDashOffset ¶
func (e *ImageElement) StrokeDashOffset(strokeDashOffset Float64) *ImageElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*ImageElement) StrokeLineCap ¶
func (e *ImageElement) StrokeLineCap(strokeLineCap String) *ImageElement
StrokeLineCap sets the stroke-linecap attribute.
func (*ImageElement) StrokeLineJoin ¶
func (e *ImageElement) StrokeLineJoin(strokeLineJoin String) *ImageElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*ImageElement) StrokeMiterLimit ¶
func (e *ImageElement) StrokeMiterLimit(strokeMiterLimit Float64) *ImageElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*ImageElement) StrokeOpacity ¶
func (e *ImageElement) StrokeOpacity(strokeOpacity Float64) *ImageElement
StrokeOpacity sets the stroke-opacity attribute.
func (*ImageElement) StrokeWidth ¶
func (e *ImageElement) StrokeWidth(strokeWidth Length) *ImageElement
StrokeWidth sets the stroke-width attribute.
func (*ImageElement) Style ¶
func (e *ImageElement) Style(style String) *ImageElement
Style sets the style attribute.
func (*ImageElement) TabIndex ¶
func (e *ImageElement) TabIndex(tabIndex Int) *ImageElement
TabIndex sets the tabindex attribute.
func (*ImageElement) TextAnchor ¶
func (e *ImageElement) TextAnchor(textAnchor String) *ImageElement
TextAnchor sets the text-anchor attribute.
func (*ImageElement) TextDecoration ¶
func (e *ImageElement) TextDecoration(textDecoration String) *ImageElement
TextDecoration sets the text-decoration attribute.
func (*ImageElement) TextOverflow ¶
func (e *ImageElement) TextOverflow(textOverflow String) *ImageElement
TextOverflow sets the text-overflow attribute.
func (*ImageElement) TextRendering ¶
func (e *ImageElement) TextRendering(textRendering String) *ImageElement
TextRendering sets the text-rendering attribute.
func (*ImageElement) UnicodeBiDi ¶
func (e *ImageElement) UnicodeBiDi(UnicodeBiDi String) *ImageElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*ImageElement) VectorEffect ¶
func (e *ImageElement) VectorEffect(vectorEffect String) *ImageElement
VectorEffect sets the vector-effect attribute.
func (*ImageElement) Visibility ¶
func (e *ImageElement) Visibility(visibility String) *ImageElement
Visibility sets the visibility attribute.
func (*ImageElement) WhiteSpace ¶
func (e *ImageElement) WhiteSpace(whiteSpace String) *ImageElement
WhiteSpace sets the white-space attribute.
func (*ImageElement) Width ¶
func (e *ImageElement) Width(width Length) *ImageElement
Width sets the width attribute.
func (*ImageElement) WidthHeight ¶
func (e *ImageElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *ImageElement
WidthHeight sets the width and height attributes.
func (*ImageElement) WordSpacing ¶
func (e *ImageElement) WordSpacing(wordSpacing String) *ImageElement
WordSpacing sets the word-spacing attribute.
func (*ImageElement) WritingMode ¶
func (e *ImageElement) WritingMode(writingMode String) *ImageElement
WritingMode sets the writing-mode attribute.
func (*ImageElement) XY ¶
func (e *ImageElement) XY(x, y float64, lengthFunc LengthFunc) *ImageElement
XY sets the x and y attributes.
func (*ImageElement) XYWidthHeight ¶
func (e *ImageElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *ImageElement
XYWidthHeight sets the x, y, width, and height attributes.
type Length ¶
type Length struct { Value float64 Unit LengthUnit }
A Length is a length attribute value.
type LengthFunc ¶
A LengthFunc converts a floating point value into a Length.
type LengthUnit ¶
type LengthUnit int
A LengthUnit is a length unit.
const ( LengthUnitUnknown LengthUnit = iota LengthUnitNumber LengthUnitPercent LengthUnitEms LengthUnitExs LengthUnitPx LengthUnitCM LengthUnitMM LengthUnitIn LengthUnitPt LengthUnitPc )
LengthUnits.
func (LengthUnit) String ¶
func (l LengthUnit) String() string
type LineElement ¶
A LineElement is a line element.
func (*LineElement) AlignmentBaseline ¶
func (e *LineElement) AlignmentBaseline(alignmentBaseline String) *LineElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*LineElement) AppendChildren ¶
func (e *LineElement) AppendChildren(children ...Element) *LineElement
AppendChildren appends the given children.
func (*LineElement) BaselineShift ¶
func (e *LineElement) BaselineShift(baselineShift String) *LineElement
BaselineShift sets the baseline-shift attribute.
func (*LineElement) Class ¶
func (e *LineElement) Class(class String) *LineElement
Class sets the class attribute.
func (*LineElement) ClipPath ¶
func (e *LineElement) ClipPath(clipPath String) *LineElement
ClipPath sets the clip-path attribute.
func (*LineElement) ClipRule ¶
func (e *LineElement) ClipRule(clipRule String) *LineElement
ClipRule sets the clip-rule attribute.
func (*LineElement) Color ¶
func (e *LineElement) Color(color String) *LineElement
Color sets the color attribute.
func (*LineElement) ColorInterpolation ¶
func (e *LineElement) ColorInterpolation(colorInterpolation String) *LineElement
ColorInterpolation sets the color-interpolation attribute.
func (*LineElement) ColorInterpolationFilters ¶
func (e *LineElement) ColorInterpolationFilters(colorInterpolationFilters String) *LineElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*LineElement) ColorRendering ¶
func (e *LineElement) ColorRendering(colorRendering String) *LineElement
ColorRendering sets the color-rendering attribute.
func (*LineElement) Cursor ¶
func (e *LineElement) Cursor(cursor String) *LineElement
Cursor sets the cursor attribute.
func (*LineElement) Direction ¶
func (e *LineElement) Direction(direction String) *LineElement
Direction sets the direction attribute.
func (*LineElement) Display ¶
func (e *LineElement) Display(display String) *LineElement
Display sets the display attribute.
func (*LineElement) DominantBaseline ¶
func (e *LineElement) DominantBaseline(dominantBaseline String) *LineElement
DominantBaseline sets the dominant-baseline attribute.
func (*LineElement) Fill ¶
func (e *LineElement) Fill(fill String) *LineElement
Fill sets the fill attribute.
func (*LineElement) FillOpacity ¶
func (e *LineElement) FillOpacity(fillOpacity Float64) *LineElement
FillOpacity sets the fill-opacity attribute.
func (*LineElement) FillRule ¶
func (e *LineElement) FillRule(fillRule String) *LineElement
FillRule sets the fill-rule attribute.
func (*LineElement) Filter ¶
func (e *LineElement) Filter(filter String) *LineElement
Filter sets the filter attribute.
func (*LineElement) FloodColor ¶
func (e *LineElement) FloodColor(floodColor String) *LineElement
FloodColor sets the flood-color attribute.
func (*LineElement) FloodOpacity ¶
func (e *LineElement) FloodOpacity(floodOpacity Float64) *LineElement
FloodOpacity sets the flood-opacity attribute.
func (*LineElement) FontFamily ¶
func (e *LineElement) FontFamily(fontFamily String) *LineElement
FontFamily sets the font-family attribute.
func (*LineElement) FontSize ¶
func (e *LineElement) FontSize(fontSize String) *LineElement
FontSize sets the font-size attribute.
func (*LineElement) FontSizeAdjust ¶
func (e *LineElement) FontSizeAdjust(fontSizeAdjust String) *LineElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*LineElement) FontStretch ¶
func (e *LineElement) FontStretch(fontStretch String) *LineElement
FontStretch sets the font-stretch attribute.
func (*LineElement) FontStyle ¶
func (e *LineElement) FontStyle(fontStyle String) *LineElement
FontStyle sets the font-style attribute.
func (*LineElement) FontVariant ¶
func (e *LineElement) FontVariant(fontVariant String) *LineElement
FontVariant sets the font-variant attribute.
func (*LineElement) FontWeight ¶
func (e *LineElement) FontWeight(fontWeight String) *LineElement
FontWeight sets the font-weight attribute.
func (*LineElement) GlyphOrientationHorizontal ¶
func (e *LineElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *LineElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*LineElement) GlyphOrientationVertical ¶
func (e *LineElement) GlyphOrientationVertical(glyphOrientationVertical String) *LineElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*LineElement) ImageRendering ¶
func (e *LineElement) ImageRendering(imageRendering String) *LineElement
ImageRendering sets the image-rendering attribute.
func (*LineElement) Lang ¶
func (e *LineElement) Lang(lang String) *LineElement
Lang sets the lang attribute.
func (*LineElement) LetterSpacing ¶
func (e *LineElement) LetterSpacing(letterSpacing String) *LineElement
LetterSpacing sets the letter-spacing attribute.
func (*LineElement) LightingColor ¶
func (e *LineElement) LightingColor(lightingColor String) *LineElement
LightingColor sets the lighting-color attribute.
func (*LineElement) MarkerEnd ¶
func (e *LineElement) MarkerEnd(markerEnd String) *LineElement
MarkerEnd sets the marker-end attribute.
func (*LineElement) MarkerMid ¶
func (e *LineElement) MarkerMid(markerMid String) *LineElement
MarkerMid sets the marker-mid attribute.
func (*LineElement) MarkerStart ¶
func (e *LineElement) MarkerStart(markerStart String) *LineElement
MarkerStart sets the marker-start attribute.
func (*LineElement) MarshalXML ¶
func (e *LineElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*LineElement) Mask ¶
func (e *LineElement) Mask(mask String) *LineElement
Mask sets the mask attribute.
func (*LineElement) Opacity ¶
func (e *LineElement) Opacity(opacity Float64) *LineElement
Opacity sets the opacity attribute.
func (*LineElement) Overflow ¶
func (e *LineElement) Overflow(overflow String) *LineElement
Overflow sets the overflow attribute.
func (*LineElement) PaintOrder ¶
func (e *LineElement) PaintOrder(paintOrder String) *LineElement
PaintOrder sets the paint-order attribute.
func (*LineElement) PathLength ¶
func (e *LineElement) PathLength(pathLength String) *LineElement
PathLength sets the pathLength attribute.
func (*LineElement) PointerEvents ¶
func (e *LineElement) PointerEvents(pointerEvents String) *LineElement
PointerEvents sets the pointer-events attribute.
func (*LineElement) ShapeRendering ¶
func (e *LineElement) ShapeRendering(shapeRendering String) *LineElement
ShapeRendering sets the shape-rendering attribute.
func (*LineElement) StopColor ¶
func (e *LineElement) StopColor(stopColor String) *LineElement
StopColor sets the stop-color attribute.
func (*LineElement) StopOpacity ¶
func (e *LineElement) StopOpacity(stopOpacity Float64) *LineElement
StopOpacity sets the stop-opacity attribute.
func (*LineElement) Stroke ¶
func (e *LineElement) Stroke(stroke String) *LineElement
Stroke sets the stroke attribute.
func (*LineElement) StrokeDashArray ¶
func (e *LineElement) StrokeDashArray(strokeDashArray String) *LineElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*LineElement) StrokeDashOffset ¶
func (e *LineElement) StrokeDashOffset(strokeDashOffset Float64) *LineElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*LineElement) StrokeLineCap ¶
func (e *LineElement) StrokeLineCap(strokeLineCap String) *LineElement
StrokeLineCap sets the stroke-linecap attribute.
func (*LineElement) StrokeLineJoin ¶
func (e *LineElement) StrokeLineJoin(strokeLineJoin String) *LineElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*LineElement) StrokeMiterLimit ¶
func (e *LineElement) StrokeMiterLimit(strokeMiterLimit Float64) *LineElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*LineElement) StrokeOpacity ¶
func (e *LineElement) StrokeOpacity(strokeOpacity Float64) *LineElement
StrokeOpacity sets the stroke-opacity attribute.
func (*LineElement) StrokeWidth ¶
func (e *LineElement) StrokeWidth(strokeWidth Length) *LineElement
StrokeWidth sets the stroke-width attribute.
func (*LineElement) Style ¶
func (e *LineElement) Style(style String) *LineElement
Style sets the style attribute.
func (*LineElement) TabIndex ¶
func (e *LineElement) TabIndex(tabIndex Int) *LineElement
TabIndex sets the tabindex attribute.
func (*LineElement) TextAnchor ¶
func (e *LineElement) TextAnchor(textAnchor String) *LineElement
TextAnchor sets the text-anchor attribute.
func (*LineElement) TextDecoration ¶
func (e *LineElement) TextDecoration(textDecoration String) *LineElement
TextDecoration sets the text-decoration attribute.
func (*LineElement) TextOverflow ¶
func (e *LineElement) TextOverflow(textOverflow String) *LineElement
TextOverflow sets the text-overflow attribute.
func (*LineElement) TextRendering ¶
func (e *LineElement) TextRendering(textRendering String) *LineElement
TextRendering sets the text-rendering attribute.
func (*LineElement) UnicodeBiDi ¶
func (e *LineElement) UnicodeBiDi(UnicodeBiDi String) *LineElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*LineElement) VectorEffect ¶
func (e *LineElement) VectorEffect(vectorEffect String) *LineElement
VectorEffect sets the vector-effect attribute.
func (*LineElement) Visibility ¶
func (e *LineElement) Visibility(visibility String) *LineElement
Visibility sets the visibility attribute.
func (*LineElement) WhiteSpace ¶
func (e *LineElement) WhiteSpace(whiteSpace String) *LineElement
WhiteSpace sets the white-space attribute.
func (*LineElement) WordSpacing ¶
func (e *LineElement) WordSpacing(wordSpacing String) *LineElement
WordSpacing sets the word-spacing attribute.
func (*LineElement) WritingMode ¶
func (e *LineElement) WritingMode(writingMode String) *LineElement
WritingMode sets the writing-mode attribute.
func (*LineElement) X1Y1X2Y2 ¶
func (e *LineElement) X1Y1X2Y2(x1, y1, x2, y2 float64) *LineElement
X1Y1X2Y2 sets the x1, y1, x2, and y2 attributes.
type MarkerElement ¶
A MarkerElement is a marker element.
func (*MarkerElement) AlignmentBaseline ¶
func (e *MarkerElement) AlignmentBaseline(alignmentBaseline String) *MarkerElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*MarkerElement) AppendChildren ¶
func (e *MarkerElement) AppendChildren(children ...Element) *MarkerElement
AppendChildren appends the given children.
func (*MarkerElement) BaselineShift ¶
func (e *MarkerElement) BaselineShift(baselineShift String) *MarkerElement
BaselineShift sets the baseline-shift attribute.
func (*MarkerElement) Class ¶
func (e *MarkerElement) Class(class String) *MarkerElement
Class sets the class attribute.
func (*MarkerElement) ClipPath ¶
func (e *MarkerElement) ClipPath(clipPath String) *MarkerElement
ClipPath sets the clip-path attribute.
func (*MarkerElement) ClipRule ¶
func (e *MarkerElement) ClipRule(clipRule String) *MarkerElement
ClipRule sets the clip-rule attribute.
func (*MarkerElement) Color ¶
func (e *MarkerElement) Color(color String) *MarkerElement
Color sets the color attribute.
func (*MarkerElement) ColorInterpolation ¶
func (e *MarkerElement) ColorInterpolation(colorInterpolation String) *MarkerElement
ColorInterpolation sets the color-interpolation attribute.
func (*MarkerElement) ColorInterpolationFilters ¶
func (e *MarkerElement) ColorInterpolationFilters(colorInterpolationFilters String) *MarkerElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*MarkerElement) ColorRendering ¶
func (e *MarkerElement) ColorRendering(colorRendering String) *MarkerElement
ColorRendering sets the color-rendering attribute.
func (*MarkerElement) Cursor ¶
func (e *MarkerElement) Cursor(cursor String) *MarkerElement
Cursor sets the cursor attribute.
func (*MarkerElement) Direction ¶
func (e *MarkerElement) Direction(direction String) *MarkerElement
Direction sets the direction attribute.
func (*MarkerElement) Display ¶
func (e *MarkerElement) Display(display String) *MarkerElement
Display sets the display attribute.
func (*MarkerElement) DominantBaseline ¶
func (e *MarkerElement) DominantBaseline(dominantBaseline String) *MarkerElement
DominantBaseline sets the dominant-baseline attribute.
func (*MarkerElement) Fill ¶
func (e *MarkerElement) Fill(fill String) *MarkerElement
Fill sets the fill attribute.
func (*MarkerElement) FillOpacity ¶
func (e *MarkerElement) FillOpacity(fillOpacity Float64) *MarkerElement
FillOpacity sets the fill-opacity attribute.
func (*MarkerElement) FillRule ¶
func (e *MarkerElement) FillRule(fillRule String) *MarkerElement
FillRule sets the fill-rule attribute.
func (*MarkerElement) Filter ¶
func (e *MarkerElement) Filter(filter String) *MarkerElement
Filter sets the filter attribute.
func (*MarkerElement) FloodColor ¶
func (e *MarkerElement) FloodColor(floodColor String) *MarkerElement
FloodColor sets the flood-color attribute.
func (*MarkerElement) FloodOpacity ¶
func (e *MarkerElement) FloodOpacity(floodOpacity Float64) *MarkerElement
FloodOpacity sets the flood-opacity attribute.
func (*MarkerElement) FontFamily ¶
func (e *MarkerElement) FontFamily(fontFamily String) *MarkerElement
FontFamily sets the font-family attribute.
func (*MarkerElement) FontSize ¶
func (e *MarkerElement) FontSize(fontSize String) *MarkerElement
FontSize sets the font-size attribute.
func (*MarkerElement) FontSizeAdjust ¶
func (e *MarkerElement) FontSizeAdjust(fontSizeAdjust String) *MarkerElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*MarkerElement) FontStretch ¶
func (e *MarkerElement) FontStretch(fontStretch String) *MarkerElement
FontStretch sets the font-stretch attribute.
func (*MarkerElement) FontStyle ¶
func (e *MarkerElement) FontStyle(fontStyle String) *MarkerElement
FontStyle sets the font-style attribute.
func (*MarkerElement) FontVariant ¶
func (e *MarkerElement) FontVariant(fontVariant String) *MarkerElement
FontVariant sets the font-variant attribute.
func (*MarkerElement) FontWeight ¶
func (e *MarkerElement) FontWeight(fontWeight String) *MarkerElement
FontWeight sets the font-weight attribute.
func (*MarkerElement) GlyphOrientationHorizontal ¶
func (e *MarkerElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *MarkerElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*MarkerElement) GlyphOrientationVertical ¶
func (e *MarkerElement) GlyphOrientationVertical(glyphOrientationVertical String) *MarkerElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*MarkerElement) ID ¶
func (e *MarkerElement) ID(id String) *MarkerElement
ID sets the id attribute.
func (*MarkerElement) ImageRendering ¶
func (e *MarkerElement) ImageRendering(imageRendering String) *MarkerElement
ImageRendering sets the image-rendering attribute.
func (*MarkerElement) Lang ¶
func (e *MarkerElement) Lang(lang String) *MarkerElement
Lang sets the lang attribute.
func (*MarkerElement) LetterSpacing ¶
func (e *MarkerElement) LetterSpacing(letterSpacing String) *MarkerElement
LetterSpacing sets the letter-spacing attribute.
func (*MarkerElement) LightingColor ¶
func (e *MarkerElement) LightingColor(lightingColor String) *MarkerElement
LightingColor sets the lighting-color attribute.
func (*MarkerElement) MarkerEnd ¶
func (e *MarkerElement) MarkerEnd(markerEnd String) *MarkerElement
MarkerEnd sets the marker-end attribute.
func (*MarkerElement) MarkerHeight ¶
func (e *MarkerElement) MarkerHeight(markerHeight Float64) *MarkerElement
MarkerHeight sets the markerHeight attribute.
func (*MarkerElement) MarkerMid ¶
func (e *MarkerElement) MarkerMid(markerMid String) *MarkerElement
MarkerMid sets the marker-mid attribute.
func (*MarkerElement) MarkerStart ¶
func (e *MarkerElement) MarkerStart(markerStart String) *MarkerElement
MarkerStart sets the marker-start attribute.
func (*MarkerElement) MarkerUnits ¶
func (e *MarkerElement) MarkerUnits(markerUnits String) *MarkerElement
MarkerUnits sets the markerUnits attribute.
func (*MarkerElement) MarkerWidth ¶
func (e *MarkerElement) MarkerWidth(markerWidth Float64) *MarkerElement
MarkerWidth sets the markerWidth attribute.
func (*MarkerElement) MarkerWidthHeight ¶
func (e *MarkerElement) MarkerWidthHeight(markerWidth, markerHeight float64) *MarkerElement
MarkerWidthHeight sets the markerWidth and markerHeight attributes.
func (*MarkerElement) MarshalXML ¶
func (e *MarkerElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*MarkerElement) Mask ¶
func (e *MarkerElement) Mask(mask String) *MarkerElement
Mask sets the mask attribute.
func (*MarkerElement) Opacity ¶
func (e *MarkerElement) Opacity(opacity Float64) *MarkerElement
Opacity sets the opacity attribute.
func (*MarkerElement) Orient ¶
func (e *MarkerElement) Orient(orient String) *MarkerElement
Orient sets the orient attribute.
func (*MarkerElement) Overflow ¶
func (e *MarkerElement) Overflow(overflow String) *MarkerElement
Overflow sets the overflow attribute.
func (*MarkerElement) PaintOrder ¶
func (e *MarkerElement) PaintOrder(paintOrder String) *MarkerElement
PaintOrder sets the paint-order attribute.
func (*MarkerElement) PointerEvents ¶
func (e *MarkerElement) PointerEvents(pointerEvents String) *MarkerElement
PointerEvents sets the pointer-events attribute.
func (*MarkerElement) PreserveAspectRatio ¶
func (e *MarkerElement) PreserveAspectRatio(preserveAspectRatio String) *MarkerElement
PreserveAspectRatio sets the preserveAspectRatio attribute.
func (*MarkerElement) RefX ¶
func (e *MarkerElement) RefX(refX Float64) *MarkerElement
RefX sets the refX attribute.
func (*MarkerElement) RefXY ¶
func (e *MarkerElement) RefXY(refX, refY float64) *MarkerElement
RefXY sets the refX and refY attributes.
func (*MarkerElement) RefY ¶
func (e *MarkerElement) RefY(refY Float64) *MarkerElement
RefY sets the refY attribute.
func (*MarkerElement) ShapeRendering ¶
func (e *MarkerElement) ShapeRendering(shapeRendering String) *MarkerElement
ShapeRendering sets the shape-rendering attribute.
func (*MarkerElement) StopColor ¶
func (e *MarkerElement) StopColor(stopColor String) *MarkerElement
StopColor sets the stop-color attribute.
func (*MarkerElement) StopOpacity ¶
func (e *MarkerElement) StopOpacity(stopOpacity Float64) *MarkerElement
StopOpacity sets the stop-opacity attribute.
func (*MarkerElement) Stroke ¶
func (e *MarkerElement) Stroke(stroke String) *MarkerElement
Stroke sets the stroke attribute.
func (*MarkerElement) StrokeDashArray ¶
func (e *MarkerElement) StrokeDashArray(strokeDashArray String) *MarkerElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*MarkerElement) StrokeDashOffset ¶
func (e *MarkerElement) StrokeDashOffset(strokeDashOffset Float64) *MarkerElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*MarkerElement) StrokeLineCap ¶
func (e *MarkerElement) StrokeLineCap(strokeLineCap String) *MarkerElement
StrokeLineCap sets the stroke-linecap attribute.
func (*MarkerElement) StrokeLineJoin ¶
func (e *MarkerElement) StrokeLineJoin(strokeLineJoin String) *MarkerElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*MarkerElement) StrokeMiterLimit ¶
func (e *MarkerElement) StrokeMiterLimit(strokeMiterLimit Float64) *MarkerElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*MarkerElement) StrokeOpacity ¶
func (e *MarkerElement) StrokeOpacity(strokeOpacity Float64) *MarkerElement
StrokeOpacity sets the stroke-opacity attribute.
func (*MarkerElement) StrokeWidth ¶
func (e *MarkerElement) StrokeWidth(strokeWidth Length) *MarkerElement
StrokeWidth sets the stroke-width attribute.
func (*MarkerElement) Style ¶
func (e *MarkerElement) Style(style String) *MarkerElement
Style sets the style attribute.
func (*MarkerElement) TabIndex ¶
func (e *MarkerElement) TabIndex(tabIndex Int) *MarkerElement
TabIndex sets the tabindex attribute.
func (*MarkerElement) TextAnchor ¶
func (e *MarkerElement) TextAnchor(textAnchor String) *MarkerElement
TextAnchor sets the text-anchor attribute.
func (*MarkerElement) TextDecoration ¶
func (e *MarkerElement) TextDecoration(textDecoration String) *MarkerElement
TextDecoration sets the text-decoration attribute.
func (*MarkerElement) TextOverflow ¶
func (e *MarkerElement) TextOverflow(textOverflow String) *MarkerElement
TextOverflow sets the text-overflow attribute.
func (*MarkerElement) TextRendering ¶
func (e *MarkerElement) TextRendering(textRendering String) *MarkerElement
TextRendering sets the text-rendering attribute.
func (*MarkerElement) UnicodeBiDi ¶
func (e *MarkerElement) UnicodeBiDi(UnicodeBiDi String) *MarkerElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*MarkerElement) VectorEffect ¶
func (e *MarkerElement) VectorEffect(vectorEffect String) *MarkerElement
VectorEffect sets the vector-effect attribute.
func (*MarkerElement) ViewBox ¶
func (e *MarkerElement) ViewBox(minX, minY, width, height float64) *MarkerElement
ViewBox sets the viewBox attribute.
func (*MarkerElement) Visibility ¶
func (e *MarkerElement) Visibility(visibility String) *MarkerElement
Visibility sets the visibility attribute.
func (*MarkerElement) WhiteSpace ¶
func (e *MarkerElement) WhiteSpace(whiteSpace String) *MarkerElement
WhiteSpace sets the white-space attribute.
func (*MarkerElement) WordSpacing ¶
func (e *MarkerElement) WordSpacing(wordSpacing String) *MarkerElement
WordSpacing sets the word-spacing attribute.
func (*MarkerElement) WritingMode ¶
func (e *MarkerElement) WritingMode(writingMode String) *MarkerElement
WritingMode sets the writing-mode attribute.
type MaskElement ¶
A MaskElement is a mask element.
func (*MaskElement) AlignmentBaseline ¶
func (e *MaskElement) AlignmentBaseline(alignmentBaseline String) *MaskElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*MaskElement) AppendChildren ¶
func (e *MaskElement) AppendChildren(children ...Element) *MaskElement
AppendChildren appends the given children.
func (*MaskElement) BaselineShift ¶
func (e *MaskElement) BaselineShift(baselineShift String) *MaskElement
BaselineShift sets the baseline-shift attribute.
func (*MaskElement) Class ¶
func (e *MaskElement) Class(class String) *MaskElement
Class sets the class attribute.
func (*MaskElement) ClipPath ¶
func (e *MaskElement) ClipPath(clipPath String) *MaskElement
ClipPath sets the clip-path attribute.
func (*MaskElement) ClipRule ¶
func (e *MaskElement) ClipRule(clipRule String) *MaskElement
ClipRule sets the clip-rule attribute.
func (*MaskElement) Color ¶
func (e *MaskElement) Color(color String) *MaskElement
Color sets the color attribute.
func (*MaskElement) ColorInterpolation ¶
func (e *MaskElement) ColorInterpolation(colorInterpolation String) *MaskElement
ColorInterpolation sets the color-interpolation attribute.
func (*MaskElement) ColorInterpolationFilters ¶
func (e *MaskElement) ColorInterpolationFilters(colorInterpolationFilters String) *MaskElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*MaskElement) ColorRendering ¶
func (e *MaskElement) ColorRendering(colorRendering String) *MaskElement
ColorRendering sets the color-rendering attribute.
func (*MaskElement) Cursor ¶
func (e *MaskElement) Cursor(cursor String) *MaskElement
Cursor sets the cursor attribute.
func (*MaskElement) Direction ¶
func (e *MaskElement) Direction(direction String) *MaskElement
Direction sets the direction attribute.
func (*MaskElement) Display ¶
func (e *MaskElement) Display(display String) *MaskElement
Display sets the display attribute.
func (*MaskElement) DominantBaseline ¶
func (e *MaskElement) DominantBaseline(dominantBaseline String) *MaskElement
DominantBaseline sets the dominant-baseline attribute.
func (*MaskElement) Fill ¶
func (e *MaskElement) Fill(fill String) *MaskElement
Fill sets the fill attribute.
func (*MaskElement) FillOpacity ¶
func (e *MaskElement) FillOpacity(fillOpacity Float64) *MaskElement
FillOpacity sets the fill-opacity attribute.
func (*MaskElement) FillRule ¶
func (e *MaskElement) FillRule(fillRule String) *MaskElement
FillRule sets the fill-rule attribute.
func (*MaskElement) Filter ¶
func (e *MaskElement) Filter(filter String) *MaskElement
Filter sets the filter attribute.
func (*MaskElement) FloodColor ¶
func (e *MaskElement) FloodColor(floodColor String) *MaskElement
FloodColor sets the flood-color attribute.
func (*MaskElement) FloodOpacity ¶
func (e *MaskElement) FloodOpacity(floodOpacity Float64) *MaskElement
FloodOpacity sets the flood-opacity attribute.
func (*MaskElement) FontFamily ¶
func (e *MaskElement) FontFamily(fontFamily String) *MaskElement
FontFamily sets the font-family attribute.
func (*MaskElement) FontSize ¶
func (e *MaskElement) FontSize(fontSize String) *MaskElement
FontSize sets the font-size attribute.
func (*MaskElement) FontSizeAdjust ¶
func (e *MaskElement) FontSizeAdjust(fontSizeAdjust String) *MaskElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*MaskElement) FontStretch ¶
func (e *MaskElement) FontStretch(fontStretch String) *MaskElement
FontStretch sets the font-stretch attribute.
func (*MaskElement) FontStyle ¶
func (e *MaskElement) FontStyle(fontStyle String) *MaskElement
FontStyle sets the font-style attribute.
func (*MaskElement) FontVariant ¶
func (e *MaskElement) FontVariant(fontVariant String) *MaskElement
FontVariant sets the font-variant attribute.
func (*MaskElement) FontWeight ¶
func (e *MaskElement) FontWeight(fontWeight String) *MaskElement
FontWeight sets the font-weight attribute.
func (*MaskElement) GlyphOrientationHorizontal ¶
func (e *MaskElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *MaskElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*MaskElement) GlyphOrientationVertical ¶
func (e *MaskElement) GlyphOrientationVertical(glyphOrientationVertical String) *MaskElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*MaskElement) Height ¶
func (e *MaskElement) Height(height Length) *MaskElement
Height sets the height attribute.
func (*MaskElement) ImageRendering ¶
func (e *MaskElement) ImageRendering(imageRendering String) *MaskElement
ImageRendering sets the image-rendering attribute.
func (*MaskElement) Lang ¶
func (e *MaskElement) Lang(lang String) *MaskElement
Lang sets the lang attribute.
func (*MaskElement) LetterSpacing ¶
func (e *MaskElement) LetterSpacing(letterSpacing String) *MaskElement
LetterSpacing sets the letter-spacing attribute.
func (*MaskElement) LightingColor ¶
func (e *MaskElement) LightingColor(lightingColor String) *MaskElement
LightingColor sets the lighting-color attribute.
func (*MaskElement) MarkerEnd ¶
func (e *MaskElement) MarkerEnd(markerEnd String) *MaskElement
MarkerEnd sets the marker-end attribute.
func (*MaskElement) MarkerMid ¶
func (e *MaskElement) MarkerMid(markerMid String) *MaskElement
MarkerMid sets the marker-mid attribute.
func (*MaskElement) MarkerStart ¶
func (e *MaskElement) MarkerStart(markerStart String) *MaskElement
MarkerStart sets the marker-start attribute.
func (*MaskElement) MarshalXML ¶
func (e *MaskElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*MaskElement) Mask ¶
func (e *MaskElement) Mask(mask String) *MaskElement
Mask sets the mask attribute.
func (*MaskElement) MaskContentUnits ¶
func (e *MaskElement) MaskContentUnits(maskContentUnits String) *MaskElement
MaskContentUnits sets the maskContentUnits attribute.
func (*MaskElement) MaskUnits ¶
func (e *MaskElement) MaskUnits(maskUnits String) *MaskElement
MaskUnits sets the maskUnits attribute.
func (*MaskElement) Opacity ¶
func (e *MaskElement) Opacity(opacity Float64) *MaskElement
Opacity sets the opacity attribute.
func (*MaskElement) Overflow ¶
func (e *MaskElement) Overflow(overflow String) *MaskElement
Overflow sets the overflow attribute.
func (*MaskElement) PaintOrder ¶
func (e *MaskElement) PaintOrder(paintOrder String) *MaskElement
PaintOrder sets the paint-order attribute.
func (*MaskElement) PointerEvents ¶
func (e *MaskElement) PointerEvents(pointerEvents String) *MaskElement
PointerEvents sets the pointer-events attribute.
func (*MaskElement) ShapeRendering ¶
func (e *MaskElement) ShapeRendering(shapeRendering String) *MaskElement
ShapeRendering sets the shape-rendering attribute.
func (*MaskElement) StopColor ¶
func (e *MaskElement) StopColor(stopColor String) *MaskElement
StopColor sets the stop-color attribute.
func (*MaskElement) StopOpacity ¶
func (e *MaskElement) StopOpacity(stopOpacity Float64) *MaskElement
StopOpacity sets the stop-opacity attribute.
func (*MaskElement) Stroke ¶
func (e *MaskElement) Stroke(stroke String) *MaskElement
Stroke sets the stroke attribute.
func (*MaskElement) StrokeDashArray ¶
func (e *MaskElement) StrokeDashArray(strokeDashArray String) *MaskElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*MaskElement) StrokeDashOffset ¶
func (e *MaskElement) StrokeDashOffset(strokeDashOffset Float64) *MaskElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*MaskElement) StrokeLineCap ¶
func (e *MaskElement) StrokeLineCap(strokeLineCap String) *MaskElement
StrokeLineCap sets the stroke-linecap attribute.
func (*MaskElement) StrokeLineJoin ¶
func (e *MaskElement) StrokeLineJoin(strokeLineJoin String) *MaskElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*MaskElement) StrokeMiterLimit ¶
func (e *MaskElement) StrokeMiterLimit(strokeMiterLimit Float64) *MaskElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*MaskElement) StrokeOpacity ¶
func (e *MaskElement) StrokeOpacity(strokeOpacity Float64) *MaskElement
StrokeOpacity sets the stroke-opacity attribute.
func (*MaskElement) StrokeWidth ¶
func (e *MaskElement) StrokeWidth(strokeWidth Length) *MaskElement
StrokeWidth sets the stroke-width attribute.
func (*MaskElement) Style ¶
func (e *MaskElement) Style(style String) *MaskElement
Style sets the style attribute.
func (*MaskElement) TabIndex ¶
func (e *MaskElement) TabIndex(tabIndex Int) *MaskElement
TabIndex sets the tabindex attribute.
func (*MaskElement) TextAnchor ¶
func (e *MaskElement) TextAnchor(textAnchor String) *MaskElement
TextAnchor sets the text-anchor attribute.
func (*MaskElement) TextDecoration ¶
func (e *MaskElement) TextDecoration(textDecoration String) *MaskElement
TextDecoration sets the text-decoration attribute.
func (*MaskElement) TextOverflow ¶
func (e *MaskElement) TextOverflow(textOverflow String) *MaskElement
TextOverflow sets the text-overflow attribute.
func (*MaskElement) TextRendering ¶
func (e *MaskElement) TextRendering(textRendering String) *MaskElement
TextRendering sets the text-rendering attribute.
func (*MaskElement) UnicodeBiDi ¶
func (e *MaskElement) UnicodeBiDi(UnicodeBiDi String) *MaskElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*MaskElement) VectorEffect ¶
func (e *MaskElement) VectorEffect(vectorEffect String) *MaskElement
VectorEffect sets the vector-effect attribute.
func (*MaskElement) Visibility ¶
func (e *MaskElement) Visibility(visibility String) *MaskElement
Visibility sets the visibility attribute.
func (*MaskElement) WhiteSpace ¶
func (e *MaskElement) WhiteSpace(whiteSpace String) *MaskElement
WhiteSpace sets the white-space attribute.
func (*MaskElement) Width ¶
func (e *MaskElement) Width(width Length) *MaskElement
Width sets the width attribute.
func (*MaskElement) WordSpacing ¶
func (e *MaskElement) WordSpacing(wordSpacing String) *MaskElement
WordSpacing sets the word-spacing attribute.
func (*MaskElement) WritingMode ¶
func (e *MaskElement) WritingMode(writingMode String) *MaskElement
WritingMode sets the writing-mode attribute.
type PathElement ¶
A PathElement is a path element.
func (*PathElement) AlignmentBaseline ¶
func (e *PathElement) AlignmentBaseline(alignmentBaseline String) *PathElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*PathElement) BaselineShift ¶
func (e *PathElement) BaselineShift(baselineShift String) *PathElement
BaselineShift sets the baseline-shift attribute.
func (*PathElement) Class ¶
func (e *PathElement) Class(class String) *PathElement
Class sets the class attribute.
func (*PathElement) ClipPath ¶
func (e *PathElement) ClipPath(clipPath String) *PathElement
ClipPath sets the clip-path attribute.
func (*PathElement) ClipRule ¶
func (e *PathElement) ClipRule(clipRule String) *PathElement
ClipRule sets the clip-rule attribute.
func (*PathElement) Color ¶
func (e *PathElement) Color(color String) *PathElement
Color sets the color attribute.
func (*PathElement) ColorInterpolation ¶
func (e *PathElement) ColorInterpolation(colorInterpolation String) *PathElement
ColorInterpolation sets the color-interpolation attribute.
func (*PathElement) ColorInterpolationFilters ¶
func (e *PathElement) ColorInterpolationFilters(colorInterpolationFilters String) *PathElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*PathElement) ColorRendering ¶
func (e *PathElement) ColorRendering(colorRendering String) *PathElement
ColorRendering sets the color-rendering attribute.
func (*PathElement) Cursor ¶
func (e *PathElement) Cursor(cursor String) *PathElement
Cursor sets the cursor attribute.
func (*PathElement) Direction ¶
func (e *PathElement) Direction(direction String) *PathElement
Direction sets the direction attribute.
func (*PathElement) Display ¶
func (e *PathElement) Display(display String) *PathElement
Display sets the display attribute.
func (*PathElement) DominantBaseline ¶
func (e *PathElement) DominantBaseline(dominantBaseline String) *PathElement
DominantBaseline sets the dominant-baseline attribute.
func (*PathElement) Fill ¶
func (e *PathElement) Fill(fill String) *PathElement
Fill sets the fill attribute.
func (*PathElement) FillOpacity ¶
func (e *PathElement) FillOpacity(fillOpacity Float64) *PathElement
FillOpacity sets the fill-opacity attribute.
func (*PathElement) FillRule ¶
func (e *PathElement) FillRule(fillRule String) *PathElement
FillRule sets the fill-rule attribute.
func (*PathElement) Filter ¶
func (e *PathElement) Filter(filter String) *PathElement
Filter sets the filter attribute.
func (*PathElement) FloodColor ¶
func (e *PathElement) FloodColor(floodColor String) *PathElement
FloodColor sets the flood-color attribute.
func (*PathElement) FloodOpacity ¶
func (e *PathElement) FloodOpacity(floodOpacity Float64) *PathElement
FloodOpacity sets the flood-opacity attribute.
func (*PathElement) FontFamily ¶
func (e *PathElement) FontFamily(fontFamily String) *PathElement
FontFamily sets the font-family attribute.
func (*PathElement) FontSize ¶
func (e *PathElement) FontSize(fontSize String) *PathElement
FontSize sets the font-size attribute.
func (*PathElement) FontSizeAdjust ¶
func (e *PathElement) FontSizeAdjust(fontSizeAdjust String) *PathElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*PathElement) FontStretch ¶
func (e *PathElement) FontStretch(fontStretch String) *PathElement
FontStretch sets the font-stretch attribute.
func (*PathElement) FontStyle ¶
func (e *PathElement) FontStyle(fontStyle String) *PathElement
FontStyle sets the font-style attribute.
func (*PathElement) FontVariant ¶
func (e *PathElement) FontVariant(fontVariant String) *PathElement
FontVariant sets the font-variant attribute.
func (*PathElement) FontWeight ¶
func (e *PathElement) FontWeight(fontWeight String) *PathElement
FontWeight sets the font-weight attribute.
func (*PathElement) GlyphOrientationHorizontal ¶
func (e *PathElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *PathElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*PathElement) GlyphOrientationVertical ¶
func (e *PathElement) GlyphOrientationVertical(glyphOrientationVertical String) *PathElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*PathElement) ImageRendering ¶
func (e *PathElement) ImageRendering(imageRendering String) *PathElement
ImageRendering sets the image-rendering attribute.
func (*PathElement) Lang ¶
func (e *PathElement) Lang(lang String) *PathElement
Lang sets the lang attribute.
func (*PathElement) LetterSpacing ¶
func (e *PathElement) LetterSpacing(letterSpacing String) *PathElement
LetterSpacing sets the letter-spacing attribute.
func (*PathElement) LightingColor ¶
func (e *PathElement) LightingColor(lightingColor String) *PathElement
LightingColor sets the lighting-color attribute.
func (*PathElement) MarkerEnd ¶
func (e *PathElement) MarkerEnd(markerEnd String) *PathElement
MarkerEnd sets the marker-end attribute.
func (*PathElement) MarkerMid ¶
func (e *PathElement) MarkerMid(markerMid String) *PathElement
MarkerMid sets the marker-mid attribute.
func (*PathElement) MarkerStart ¶
func (e *PathElement) MarkerStart(markerStart String) *PathElement
MarkerStart sets the marker-start attribute.
func (*PathElement) MarshalXML ¶
func (e *PathElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*PathElement) Mask ¶
func (e *PathElement) Mask(mask String) *PathElement
Mask sets the mask attribute.
func (*PathElement) Opacity ¶
func (e *PathElement) Opacity(opacity Float64) *PathElement
Opacity sets the opacity attribute.
func (*PathElement) Overflow ¶
func (e *PathElement) Overflow(overflow String) *PathElement
Overflow sets the overflow attribute.
func (*PathElement) PaintOrder ¶
func (e *PathElement) PaintOrder(paintOrder String) *PathElement
PaintOrder sets the paint-order attribute.
func (*PathElement) PointerEvents ¶
func (e *PathElement) PointerEvents(pointerEvents String) *PathElement
PointerEvents sets the pointer-events attribute.
func (*PathElement) ShapeRendering ¶
func (e *PathElement) ShapeRendering(shapeRendering String) *PathElement
ShapeRendering sets the shape-rendering attribute.
func (*PathElement) StopColor ¶
func (e *PathElement) StopColor(stopColor String) *PathElement
StopColor sets the stop-color attribute.
func (*PathElement) StopOpacity ¶
func (e *PathElement) StopOpacity(stopOpacity Float64) *PathElement
StopOpacity sets the stop-opacity attribute.
func (*PathElement) Stroke ¶
func (e *PathElement) Stroke(stroke String) *PathElement
Stroke sets the stroke attribute.
func (*PathElement) StrokeDashArray ¶
func (e *PathElement) StrokeDashArray(strokeDashArray String) *PathElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*PathElement) StrokeDashOffset ¶
func (e *PathElement) StrokeDashOffset(strokeDashOffset Float64) *PathElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*PathElement) StrokeLineCap ¶
func (e *PathElement) StrokeLineCap(strokeLineCap String) *PathElement
StrokeLineCap sets the stroke-linecap attribute.
func (*PathElement) StrokeLineJoin ¶
func (e *PathElement) StrokeLineJoin(strokeLineJoin String) *PathElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*PathElement) StrokeMiterLimit ¶
func (e *PathElement) StrokeMiterLimit(strokeMiterLimit Float64) *PathElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*PathElement) StrokeOpacity ¶
func (e *PathElement) StrokeOpacity(strokeOpacity Float64) *PathElement
StrokeOpacity sets the stroke-opacity attribute.
func (*PathElement) StrokeWidth ¶
func (e *PathElement) StrokeWidth(strokeWidth Length) *PathElement
StrokeWidth sets the stroke-width attribute.
func (*PathElement) Style ¶
func (e *PathElement) Style(style String) *PathElement
Style sets the style attribute.
func (*PathElement) TabIndex ¶
func (e *PathElement) TabIndex(tabIndex Int) *PathElement
TabIndex sets the tabindex attribute.
func (*PathElement) TextAnchor ¶
func (e *PathElement) TextAnchor(textAnchor String) *PathElement
TextAnchor sets the text-anchor attribute.
func (*PathElement) TextDecoration ¶
func (e *PathElement) TextDecoration(textDecoration String) *PathElement
TextDecoration sets the text-decoration attribute.
func (*PathElement) TextOverflow ¶
func (e *PathElement) TextOverflow(textOverflow String) *PathElement
TextOverflow sets the text-overflow attribute.
func (*PathElement) TextRendering ¶
func (e *PathElement) TextRendering(textRendering String) *PathElement
TextRendering sets the text-rendering attribute.
func (*PathElement) UnicodeBiDi ¶
func (e *PathElement) UnicodeBiDi(UnicodeBiDi String) *PathElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*PathElement) VectorEffect ¶
func (e *PathElement) VectorEffect(vectorEffect String) *PathElement
VectorEffect sets the vector-effect attribute.
func (*PathElement) Visibility ¶
func (e *PathElement) Visibility(visibility String) *PathElement
Visibility sets the visibility attribute.
func (*PathElement) WhiteSpace ¶
func (e *PathElement) WhiteSpace(whiteSpace String) *PathElement
WhiteSpace sets the white-space attribute.
func (*PathElement) WordSpacing ¶
func (e *PathElement) WordSpacing(wordSpacing String) *PathElement
WordSpacing sets the word-spacing attribute.
func (*PathElement) WritingMode ¶
func (e *PathElement) WritingMode(writingMode String) *PathElement
WritingMode sets the writing-mode attribute.
type PatternElement ¶
A PatternElement is a pattern element.
func Pattern ¶
func Pattern(children ...Element) *PatternElement
Pattern returns a new PatternElement.
func (*PatternElement) AlignmentBaseline ¶
func (e *PatternElement) AlignmentBaseline(alignmentBaseline String) *PatternElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*PatternElement) AppendChildren ¶
func (e *PatternElement) AppendChildren(children ...Element) *PatternElement
AppendChildren appends the given children.
func (*PatternElement) BaselineShift ¶
func (e *PatternElement) BaselineShift(baselineShift String) *PatternElement
BaselineShift sets the baseline-shift attribute.
func (*PatternElement) Class ¶
func (e *PatternElement) Class(class String) *PatternElement
Class sets the class attribute.
func (*PatternElement) ClipPath ¶
func (e *PatternElement) ClipPath(clipPath String) *PatternElement
ClipPath sets the clip-path attribute.
func (*PatternElement) ClipRule ¶
func (e *PatternElement) ClipRule(clipRule String) *PatternElement
ClipRule sets the clip-rule attribute.
func (*PatternElement) Color ¶
func (e *PatternElement) Color(color String) *PatternElement
Color sets the color attribute.
func (*PatternElement) ColorInterpolation ¶
func (e *PatternElement) ColorInterpolation(colorInterpolation String) *PatternElement
ColorInterpolation sets the color-interpolation attribute.
func (*PatternElement) ColorInterpolationFilters ¶
func (e *PatternElement) ColorInterpolationFilters(colorInterpolationFilters String) *PatternElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*PatternElement) ColorRendering ¶
func (e *PatternElement) ColorRendering(colorRendering String) *PatternElement
ColorRendering sets the color-rendering attribute.
func (*PatternElement) Cursor ¶
func (e *PatternElement) Cursor(cursor String) *PatternElement
Cursor sets the cursor attribute.
func (*PatternElement) Direction ¶
func (e *PatternElement) Direction(direction String) *PatternElement
Direction sets the direction attribute.
func (*PatternElement) Display ¶
func (e *PatternElement) Display(display String) *PatternElement
Display sets the display attribute.
func (*PatternElement) DominantBaseline ¶
func (e *PatternElement) DominantBaseline(dominantBaseline String) *PatternElement
DominantBaseline sets the dominant-baseline attribute.
func (*PatternElement) Fill ¶
func (e *PatternElement) Fill(fill String) *PatternElement
Fill sets the fill attribute.
func (*PatternElement) FillOpacity ¶
func (e *PatternElement) FillOpacity(fillOpacity Float64) *PatternElement
FillOpacity sets the fill-opacity attribute.
func (*PatternElement) FillRule ¶
func (e *PatternElement) FillRule(fillRule String) *PatternElement
FillRule sets the fill-rule attribute.
func (*PatternElement) Filter ¶
func (e *PatternElement) Filter(filter String) *PatternElement
Filter sets the filter attribute.
func (*PatternElement) FloodColor ¶
func (e *PatternElement) FloodColor(floodColor String) *PatternElement
FloodColor sets the flood-color attribute.
func (*PatternElement) FloodOpacity ¶
func (e *PatternElement) FloodOpacity(floodOpacity Float64) *PatternElement
FloodOpacity sets the flood-opacity attribute.
func (*PatternElement) FontFamily ¶
func (e *PatternElement) FontFamily(fontFamily String) *PatternElement
FontFamily sets the font-family attribute.
func (*PatternElement) FontSize ¶
func (e *PatternElement) FontSize(fontSize String) *PatternElement
FontSize sets the font-size attribute.
func (*PatternElement) FontSizeAdjust ¶
func (e *PatternElement) FontSizeAdjust(fontSizeAdjust String) *PatternElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*PatternElement) FontStretch ¶
func (e *PatternElement) FontStretch(fontStretch String) *PatternElement
FontStretch sets the font-stretch attribute.
func (*PatternElement) FontStyle ¶
func (e *PatternElement) FontStyle(fontStyle String) *PatternElement
FontStyle sets the font-style attribute.
func (*PatternElement) FontVariant ¶
func (e *PatternElement) FontVariant(fontVariant String) *PatternElement
FontVariant sets the font-variant attribute.
func (*PatternElement) FontWeight ¶
func (e *PatternElement) FontWeight(fontWeight String) *PatternElement
FontWeight sets the font-weight attribute.
func (*PatternElement) GlyphOrientationHorizontal ¶
func (e *PatternElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *PatternElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*PatternElement) GlyphOrientationVertical ¶
func (e *PatternElement) GlyphOrientationVertical(glyphOrientationVertical String) *PatternElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*PatternElement) Height ¶
func (e *PatternElement) Height(height Length) *PatternElement
Height sets the height attribute.
func (*PatternElement) Href ¶
func (e *PatternElement) Href(href String) *PatternElement
Href sets the href attribute.
func (*PatternElement) ID ¶
func (e *PatternElement) ID(id String) *PatternElement
ID sets the id attribute.
func (*PatternElement) ImageRendering ¶
func (e *PatternElement) ImageRendering(imageRendering String) *PatternElement
ImageRendering sets the image-rendering attribute.
func (*PatternElement) Lang ¶
func (e *PatternElement) Lang(lang String) *PatternElement
Lang sets the lang attribute.
func (*PatternElement) LetterSpacing ¶
func (e *PatternElement) LetterSpacing(letterSpacing String) *PatternElement
LetterSpacing sets the letter-spacing attribute.
func (*PatternElement) LightingColor ¶
func (e *PatternElement) LightingColor(lightingColor String) *PatternElement
LightingColor sets the lighting-color attribute.
func (*PatternElement) MarkerEnd ¶
func (e *PatternElement) MarkerEnd(markerEnd String) *PatternElement
MarkerEnd sets the marker-end attribute.
func (*PatternElement) MarkerMid ¶
func (e *PatternElement) MarkerMid(markerMid String) *PatternElement
MarkerMid sets the marker-mid attribute.
func (*PatternElement) MarkerStart ¶
func (e *PatternElement) MarkerStart(markerStart String) *PatternElement
MarkerStart sets the marker-start attribute.
func (*PatternElement) MarshalXML ¶
func (e *PatternElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*PatternElement) Mask ¶
func (e *PatternElement) Mask(mask String) *PatternElement
Mask sets the mask attribute.
func (*PatternElement) Opacity ¶
func (e *PatternElement) Opacity(opacity Float64) *PatternElement
Opacity sets the opacity attribute.
func (*PatternElement) Overflow ¶
func (e *PatternElement) Overflow(overflow String) *PatternElement
Overflow sets the overflow attribute.
func (*PatternElement) PaintOrder ¶
func (e *PatternElement) PaintOrder(paintOrder String) *PatternElement
PaintOrder sets the paint-order attribute.
func (*PatternElement) PatternContentUnits ¶
func (e *PatternElement) PatternContentUnits(patternContentUnits String) *PatternElement
PatternContentUnits sets the patternContentUnits attribute.
func (*PatternElement) PatternTransform ¶
func (e *PatternElement) PatternTransform(patternTransform String) *PatternElement
PatternTransform sets the patternTransform attribute.
func (*PatternElement) PatternUnits ¶
func (e *PatternElement) PatternUnits(patternUnits String) *PatternElement
PatternUnits sets the patternUnits attribute.
func (*PatternElement) PointerEvents ¶
func (e *PatternElement) PointerEvents(pointerEvents String) *PatternElement
PointerEvents sets the pointer-events attribute.
func (*PatternElement) PreserveAspectRatio ¶
func (e *PatternElement) PreserveAspectRatio(preserveAspectRatio String) *PatternElement
PreserveAspectRatio sets the preserveAspectRatio attribute.
func (*PatternElement) ShapeRendering ¶
func (e *PatternElement) ShapeRendering(shapeRendering String) *PatternElement
ShapeRendering sets the shape-rendering attribute.
func (*PatternElement) StopColor ¶
func (e *PatternElement) StopColor(stopColor String) *PatternElement
StopColor sets the stop-color attribute.
func (*PatternElement) StopOpacity ¶
func (e *PatternElement) StopOpacity(stopOpacity Float64) *PatternElement
StopOpacity sets the stop-opacity attribute.
func (*PatternElement) Stroke ¶
func (e *PatternElement) Stroke(stroke String) *PatternElement
Stroke sets the stroke attribute.
func (*PatternElement) StrokeDashArray ¶
func (e *PatternElement) StrokeDashArray(strokeDashArray String) *PatternElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*PatternElement) StrokeDashOffset ¶
func (e *PatternElement) StrokeDashOffset(strokeDashOffset Float64) *PatternElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*PatternElement) StrokeLineCap ¶
func (e *PatternElement) StrokeLineCap(strokeLineCap String) *PatternElement
StrokeLineCap sets the stroke-linecap attribute.
func (*PatternElement) StrokeLineJoin ¶
func (e *PatternElement) StrokeLineJoin(strokeLineJoin String) *PatternElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*PatternElement) StrokeMiterLimit ¶
func (e *PatternElement) StrokeMiterLimit(strokeMiterLimit Float64) *PatternElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*PatternElement) StrokeOpacity ¶
func (e *PatternElement) StrokeOpacity(strokeOpacity Float64) *PatternElement
StrokeOpacity sets the stroke-opacity attribute.
func (*PatternElement) StrokeWidth ¶
func (e *PatternElement) StrokeWidth(strokeWidth Length) *PatternElement
StrokeWidth sets the stroke-width attribute.
func (*PatternElement) Style ¶
func (e *PatternElement) Style(style String) *PatternElement
Style sets the style attribute.
func (*PatternElement) TabIndex ¶
func (e *PatternElement) TabIndex(tabIndex Int) *PatternElement
TabIndex sets the tabindex attribute.
func (*PatternElement) TextAnchor ¶
func (e *PatternElement) TextAnchor(textAnchor String) *PatternElement
TextAnchor sets the text-anchor attribute.
func (*PatternElement) TextDecoration ¶
func (e *PatternElement) TextDecoration(textDecoration String) *PatternElement
TextDecoration sets the text-decoration attribute.
func (*PatternElement) TextOverflow ¶
func (e *PatternElement) TextOverflow(textOverflow String) *PatternElement
TextOverflow sets the text-overflow attribute.
func (*PatternElement) TextRendering ¶
func (e *PatternElement) TextRendering(textRendering String) *PatternElement
TextRendering sets the text-rendering attribute.
func (*PatternElement) UnicodeBiDi ¶
func (e *PatternElement) UnicodeBiDi(UnicodeBiDi String) *PatternElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*PatternElement) VectorEffect ¶
func (e *PatternElement) VectorEffect(vectorEffect String) *PatternElement
VectorEffect sets the vector-effect attribute.
func (*PatternElement) ViewBox ¶
func (e *PatternElement) ViewBox(minX, minY, width, height float64) *PatternElement
ViewBox sets the viewBox attribute.
func (*PatternElement) Visibility ¶
func (e *PatternElement) Visibility(visibility String) *PatternElement
Visibility sets the visibility attribute.
func (*PatternElement) WhiteSpace ¶
func (e *PatternElement) WhiteSpace(whiteSpace String) *PatternElement
WhiteSpace sets the white-space attribute.
func (*PatternElement) Width ¶
func (e *PatternElement) Width(width Length) *PatternElement
Width sets the width attribute.
func (*PatternElement) WordSpacing ¶
func (e *PatternElement) WordSpacing(wordSpacing String) *PatternElement
WordSpacing sets the word-spacing attribute.
func (*PatternElement) WritingMode ¶
func (e *PatternElement) WritingMode(writingMode String) *PatternElement
WritingMode sets the writing-mode attribute.
func (*PatternElement) X ¶
func (e *PatternElement) X(x Length) *PatternElement
X sets the x attribute.
func (*PatternElement) Y ¶
func (e *PatternElement) Y(y Length) *PatternElement
Y sets the y attribute.
type PolygonElement ¶
A PolygonElement is a polygon element.
func Polygon ¶
func Polygon(children ...Element) *PolygonElement
Polygon returns a new PolygonElement.
func (*PolygonElement) AlignmentBaseline ¶
func (e *PolygonElement) AlignmentBaseline(alignmentBaseline String) *PolygonElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*PolygonElement) AppendChildren ¶
func (e *PolygonElement) AppendChildren(children ...Element) *PolygonElement
AppendChildren appends the given children.
func (*PolygonElement) BaselineShift ¶
func (e *PolygonElement) BaselineShift(baselineShift String) *PolygonElement
BaselineShift sets the baseline-shift attribute.
func (*PolygonElement) Class ¶
func (e *PolygonElement) Class(class String) *PolygonElement
Class sets the class attribute.
func (*PolygonElement) ClipPath ¶
func (e *PolygonElement) ClipPath(clipPath String) *PolygonElement
ClipPath sets the clip-path attribute.
func (*PolygonElement) ClipRule ¶
func (e *PolygonElement) ClipRule(clipRule String) *PolygonElement
ClipRule sets the clip-rule attribute.
func (*PolygonElement) Color ¶
func (e *PolygonElement) Color(color String) *PolygonElement
Color sets the color attribute.
func (*PolygonElement) ColorInterpolation ¶
func (e *PolygonElement) ColorInterpolation(colorInterpolation String) *PolygonElement
ColorInterpolation sets the color-interpolation attribute.
func (*PolygonElement) ColorInterpolationFilters ¶
func (e *PolygonElement) ColorInterpolationFilters(colorInterpolationFilters String) *PolygonElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*PolygonElement) ColorRendering ¶
func (e *PolygonElement) ColorRendering(colorRendering String) *PolygonElement
ColorRendering sets the color-rendering attribute.
func (*PolygonElement) Cursor ¶
func (e *PolygonElement) Cursor(cursor String) *PolygonElement
Cursor sets the cursor attribute.
func (*PolygonElement) Direction ¶
func (e *PolygonElement) Direction(direction String) *PolygonElement
Direction sets the direction attribute.
func (*PolygonElement) Display ¶
func (e *PolygonElement) Display(display String) *PolygonElement
Display sets the display attribute.
func (*PolygonElement) DominantBaseline ¶
func (e *PolygonElement) DominantBaseline(dominantBaseline String) *PolygonElement
DominantBaseline sets the dominant-baseline attribute.
func (*PolygonElement) Fill ¶
func (e *PolygonElement) Fill(fill String) *PolygonElement
Fill sets the fill attribute.
func (*PolygonElement) FillOpacity ¶
func (e *PolygonElement) FillOpacity(fillOpacity Float64) *PolygonElement
FillOpacity sets the fill-opacity attribute.
func (*PolygonElement) FillRule ¶
func (e *PolygonElement) FillRule(fillRule String) *PolygonElement
FillRule sets the fill-rule attribute.
func (*PolygonElement) Filter ¶
func (e *PolygonElement) Filter(filter String) *PolygonElement
Filter sets the filter attribute.
func (*PolygonElement) FloodColor ¶
func (e *PolygonElement) FloodColor(floodColor String) *PolygonElement
FloodColor sets the flood-color attribute.
func (*PolygonElement) FloodOpacity ¶
func (e *PolygonElement) FloodOpacity(floodOpacity Float64) *PolygonElement
FloodOpacity sets the flood-opacity attribute.
func (*PolygonElement) FontFamily ¶
func (e *PolygonElement) FontFamily(fontFamily String) *PolygonElement
FontFamily sets the font-family attribute.
func (*PolygonElement) FontSize ¶
func (e *PolygonElement) FontSize(fontSize String) *PolygonElement
FontSize sets the font-size attribute.
func (*PolygonElement) FontSizeAdjust ¶
func (e *PolygonElement) FontSizeAdjust(fontSizeAdjust String) *PolygonElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*PolygonElement) FontStretch ¶
func (e *PolygonElement) FontStretch(fontStretch String) *PolygonElement
FontStretch sets the font-stretch attribute.
func (*PolygonElement) FontStyle ¶
func (e *PolygonElement) FontStyle(fontStyle String) *PolygonElement
FontStyle sets the font-style attribute.
func (*PolygonElement) FontVariant ¶
func (e *PolygonElement) FontVariant(fontVariant String) *PolygonElement
FontVariant sets the font-variant attribute.
func (*PolygonElement) FontWeight ¶
func (e *PolygonElement) FontWeight(fontWeight String) *PolygonElement
FontWeight sets the font-weight attribute.
func (*PolygonElement) GlyphOrientationHorizontal ¶
func (e *PolygonElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *PolygonElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*PolygonElement) GlyphOrientationVertical ¶
func (e *PolygonElement) GlyphOrientationVertical(glyphOrientationVertical String) *PolygonElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*PolygonElement) ID ¶
func (e *PolygonElement) ID(id String) *PolygonElement
ID sets the id attribute.
func (*PolygonElement) ImageRendering ¶
func (e *PolygonElement) ImageRendering(imageRendering String) *PolygonElement
ImageRendering sets the image-rendering attribute.
func (*PolygonElement) Lang ¶
func (e *PolygonElement) Lang(lang String) *PolygonElement
Lang sets the lang attribute.
func (*PolygonElement) LetterSpacing ¶
func (e *PolygonElement) LetterSpacing(letterSpacing String) *PolygonElement
LetterSpacing sets the letter-spacing attribute.
func (*PolygonElement) LightingColor ¶
func (e *PolygonElement) LightingColor(lightingColor String) *PolygonElement
LightingColor sets the lighting-color attribute.
func (*PolygonElement) MarkerEnd ¶
func (e *PolygonElement) MarkerEnd(markerEnd String) *PolygonElement
MarkerEnd sets the marker-end attribute.
func (*PolygonElement) MarkerMid ¶
func (e *PolygonElement) MarkerMid(markerMid String) *PolygonElement
MarkerMid sets the marker-mid attribute.
func (*PolygonElement) MarkerStart ¶
func (e *PolygonElement) MarkerStart(markerStart String) *PolygonElement
MarkerStart sets the marker-start attribute.
func (*PolygonElement) MarshalXML ¶
func (e *PolygonElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*PolygonElement) Mask ¶
func (e *PolygonElement) Mask(mask String) *PolygonElement
Mask sets the mask attribute.
func (*PolygonElement) Opacity ¶
func (e *PolygonElement) Opacity(opacity Float64) *PolygonElement
Opacity sets the opacity attribute.
func (*PolygonElement) Overflow ¶
func (e *PolygonElement) Overflow(overflow String) *PolygonElement
Overflow sets the overflow attribute.
func (*PolygonElement) PaintOrder ¶
func (e *PolygonElement) PaintOrder(paintOrder String) *PolygonElement
PaintOrder sets the paint-order attribute.
func (*PolygonElement) PathLength ¶
func (e *PolygonElement) PathLength(pathLength String) *PolygonElement
PathLength sets the pathLength attribute.
func (*PolygonElement) PointerEvents ¶
func (e *PolygonElement) PointerEvents(pointerEvents String) *PolygonElement
PointerEvents sets the pointer-events attribute.
func (*PolygonElement) Points ¶
func (e *PolygonElement) Points(points Points) *PolygonElement
Points sets the points attribute.
func (*PolygonElement) ShapeRendering ¶
func (e *PolygonElement) ShapeRendering(shapeRendering String) *PolygonElement
ShapeRendering sets the shape-rendering attribute.
func (*PolygonElement) StopColor ¶
func (e *PolygonElement) StopColor(stopColor String) *PolygonElement
StopColor sets the stop-color attribute.
func (*PolygonElement) StopOpacity ¶
func (e *PolygonElement) StopOpacity(stopOpacity Float64) *PolygonElement
StopOpacity sets the stop-opacity attribute.
func (*PolygonElement) Stroke ¶
func (e *PolygonElement) Stroke(stroke String) *PolygonElement
Stroke sets the stroke attribute.
func (*PolygonElement) StrokeDashArray ¶
func (e *PolygonElement) StrokeDashArray(strokeDashArray String) *PolygonElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*PolygonElement) StrokeDashOffset ¶
func (e *PolygonElement) StrokeDashOffset(strokeDashOffset Float64) *PolygonElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*PolygonElement) StrokeLineCap ¶
func (e *PolygonElement) StrokeLineCap(strokeLineCap String) *PolygonElement
StrokeLineCap sets the stroke-linecap attribute.
func (*PolygonElement) StrokeLineJoin ¶
func (e *PolygonElement) StrokeLineJoin(strokeLineJoin String) *PolygonElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*PolygonElement) StrokeMiterLimit ¶
func (e *PolygonElement) StrokeMiterLimit(strokeMiterLimit Float64) *PolygonElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*PolygonElement) StrokeOpacity ¶
func (e *PolygonElement) StrokeOpacity(strokeOpacity Float64) *PolygonElement
StrokeOpacity sets the stroke-opacity attribute.
func (*PolygonElement) StrokeWidth ¶
func (e *PolygonElement) StrokeWidth(strokeWidth Length) *PolygonElement
StrokeWidth sets the stroke-width attribute.
func (*PolygonElement) Style ¶
func (e *PolygonElement) Style(style String) *PolygonElement
Style sets the style attribute.
func (*PolygonElement) TabIndex ¶
func (e *PolygonElement) TabIndex(tabIndex Int) *PolygonElement
TabIndex sets the tabindex attribute.
func (*PolygonElement) TextAnchor ¶
func (e *PolygonElement) TextAnchor(textAnchor String) *PolygonElement
TextAnchor sets the text-anchor attribute.
func (*PolygonElement) TextDecoration ¶
func (e *PolygonElement) TextDecoration(textDecoration String) *PolygonElement
TextDecoration sets the text-decoration attribute.
func (*PolygonElement) TextOverflow ¶
func (e *PolygonElement) TextOverflow(textOverflow String) *PolygonElement
TextOverflow sets the text-overflow attribute.
func (*PolygonElement) TextRendering ¶
func (e *PolygonElement) TextRendering(textRendering String) *PolygonElement
TextRendering sets the text-rendering attribute.
func (*PolygonElement) UnicodeBiDi ¶
func (e *PolygonElement) UnicodeBiDi(UnicodeBiDi String) *PolygonElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*PolygonElement) VectorEffect ¶
func (e *PolygonElement) VectorEffect(vectorEffect String) *PolygonElement
VectorEffect sets the vector-effect attribute.
func (*PolygonElement) Visibility ¶
func (e *PolygonElement) Visibility(visibility String) *PolygonElement
Visibility sets the visibility attribute.
func (*PolygonElement) WhiteSpace ¶
func (e *PolygonElement) WhiteSpace(whiteSpace String) *PolygonElement
WhiteSpace sets the white-space attribute.
func (*PolygonElement) WordSpacing ¶
func (e *PolygonElement) WordSpacing(wordSpacing String) *PolygonElement
WordSpacing sets the word-spacing attribute.
func (*PolygonElement) WritingMode ¶
func (e *PolygonElement) WritingMode(writingMode String) *PolygonElement
WritingMode sets the writing-mode attribute.
type PolylineElement ¶
A PolylineElement is a polyline element.
func Polyline ¶
func Polyline(children ...Element) *PolylineElement
Polyline returns a new PolylineElement.
func (*PolylineElement) AlignmentBaseline ¶
func (e *PolylineElement) AlignmentBaseline(alignmentBaseline String) *PolylineElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*PolylineElement) AppendChildren ¶
func (e *PolylineElement) AppendChildren(children ...Element) *PolylineElement
AppendChildren appends the given children.
func (*PolylineElement) BaselineShift ¶
func (e *PolylineElement) BaselineShift(baselineShift String) *PolylineElement
BaselineShift sets the baseline-shift attribute.
func (*PolylineElement) Class ¶
func (e *PolylineElement) Class(class String) *PolylineElement
Class sets the class attribute.
func (*PolylineElement) ClipPath ¶
func (e *PolylineElement) ClipPath(clipPath String) *PolylineElement
ClipPath sets the clip-path attribute.
func (*PolylineElement) ClipRule ¶
func (e *PolylineElement) ClipRule(clipRule String) *PolylineElement
ClipRule sets the clip-rule attribute.
func (*PolylineElement) Color ¶
func (e *PolylineElement) Color(color String) *PolylineElement
Color sets the color attribute.
func (*PolylineElement) ColorInterpolation ¶
func (e *PolylineElement) ColorInterpolation(colorInterpolation String) *PolylineElement
ColorInterpolation sets the color-interpolation attribute.
func (*PolylineElement) ColorInterpolationFilters ¶
func (e *PolylineElement) ColorInterpolationFilters(colorInterpolationFilters String) *PolylineElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*PolylineElement) ColorRendering ¶
func (e *PolylineElement) ColorRendering(colorRendering String) *PolylineElement
ColorRendering sets the color-rendering attribute.
func (*PolylineElement) Cursor ¶
func (e *PolylineElement) Cursor(cursor String) *PolylineElement
Cursor sets the cursor attribute.
func (*PolylineElement) Direction ¶
func (e *PolylineElement) Direction(direction String) *PolylineElement
Direction sets the direction attribute.
func (*PolylineElement) Display ¶
func (e *PolylineElement) Display(display String) *PolylineElement
Display sets the display attribute.
func (*PolylineElement) DominantBaseline ¶
func (e *PolylineElement) DominantBaseline(dominantBaseline String) *PolylineElement
DominantBaseline sets the dominant-baseline attribute.
func (*PolylineElement) Fill ¶
func (e *PolylineElement) Fill(fill String) *PolylineElement
Fill sets the fill attribute.
func (*PolylineElement) FillOpacity ¶
func (e *PolylineElement) FillOpacity(fillOpacity Float64) *PolylineElement
FillOpacity sets the fill-opacity attribute.
func (*PolylineElement) FillRule ¶
func (e *PolylineElement) FillRule(fillRule String) *PolylineElement
FillRule sets the fill-rule attribute.
func (*PolylineElement) Filter ¶
func (e *PolylineElement) Filter(filter String) *PolylineElement
Filter sets the filter attribute.
func (*PolylineElement) FloodColor ¶
func (e *PolylineElement) FloodColor(floodColor String) *PolylineElement
FloodColor sets the flood-color attribute.
func (*PolylineElement) FloodOpacity ¶
func (e *PolylineElement) FloodOpacity(floodOpacity Float64) *PolylineElement
FloodOpacity sets the flood-opacity attribute.
func (*PolylineElement) FontFamily ¶
func (e *PolylineElement) FontFamily(fontFamily String) *PolylineElement
FontFamily sets the font-family attribute.
func (*PolylineElement) FontSize ¶
func (e *PolylineElement) FontSize(fontSize String) *PolylineElement
FontSize sets the font-size attribute.
func (*PolylineElement) FontSizeAdjust ¶
func (e *PolylineElement) FontSizeAdjust(fontSizeAdjust String) *PolylineElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*PolylineElement) FontStretch ¶
func (e *PolylineElement) FontStretch(fontStretch String) *PolylineElement
FontStretch sets the font-stretch attribute.
func (*PolylineElement) FontStyle ¶
func (e *PolylineElement) FontStyle(fontStyle String) *PolylineElement
FontStyle sets the font-style attribute.
func (*PolylineElement) FontVariant ¶
func (e *PolylineElement) FontVariant(fontVariant String) *PolylineElement
FontVariant sets the font-variant attribute.
func (*PolylineElement) FontWeight ¶
func (e *PolylineElement) FontWeight(fontWeight String) *PolylineElement
FontWeight sets the font-weight attribute.
func (*PolylineElement) GlyphOrientationHorizontal ¶
func (e *PolylineElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *PolylineElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*PolylineElement) GlyphOrientationVertical ¶
func (e *PolylineElement) GlyphOrientationVertical(glyphOrientationVertical String) *PolylineElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*PolylineElement) ID ¶
func (e *PolylineElement) ID(id String) *PolylineElement
ID sets the id attribute.
func (*PolylineElement) ImageRendering ¶
func (e *PolylineElement) ImageRendering(imageRendering String) *PolylineElement
ImageRendering sets the image-rendering attribute.
func (*PolylineElement) Lang ¶
func (e *PolylineElement) Lang(lang String) *PolylineElement
Lang sets the lang attribute.
func (*PolylineElement) LetterSpacing ¶
func (e *PolylineElement) LetterSpacing(letterSpacing String) *PolylineElement
LetterSpacing sets the letter-spacing attribute.
func (*PolylineElement) LightingColor ¶
func (e *PolylineElement) LightingColor(lightingColor String) *PolylineElement
LightingColor sets the lighting-color attribute.
func (*PolylineElement) MarkerEnd ¶
func (e *PolylineElement) MarkerEnd(markerEnd String) *PolylineElement
MarkerEnd sets the marker-end attribute.
func (*PolylineElement) MarkerMid ¶
func (e *PolylineElement) MarkerMid(markerMid String) *PolylineElement
MarkerMid sets the marker-mid attribute.
func (*PolylineElement) MarkerStart ¶
func (e *PolylineElement) MarkerStart(markerStart String) *PolylineElement
MarkerStart sets the marker-start attribute.
func (*PolylineElement) MarshalXML ¶
func (e *PolylineElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*PolylineElement) Mask ¶
func (e *PolylineElement) Mask(mask String) *PolylineElement
Mask sets the mask attribute.
func (*PolylineElement) Opacity ¶
func (e *PolylineElement) Opacity(opacity Float64) *PolylineElement
Opacity sets the opacity attribute.
func (*PolylineElement) Overflow ¶
func (e *PolylineElement) Overflow(overflow String) *PolylineElement
Overflow sets the overflow attribute.
func (*PolylineElement) PaintOrder ¶
func (e *PolylineElement) PaintOrder(paintOrder String) *PolylineElement
PaintOrder sets the paint-order attribute.
func (*PolylineElement) PathLength ¶
func (e *PolylineElement) PathLength(pathLength String) *PolylineElement
PathLength sets the pathLength attribute.
func (*PolylineElement) PointerEvents ¶
func (e *PolylineElement) PointerEvents(pointerEvents String) *PolylineElement
PointerEvents sets the pointer-events attribute.
func (*PolylineElement) Points ¶
func (e *PolylineElement) Points(points Points) *PolylineElement
Points sets the points attribute.
func (*PolylineElement) ShapeRendering ¶
func (e *PolylineElement) ShapeRendering(shapeRendering String) *PolylineElement
ShapeRendering sets the shape-rendering attribute.
func (*PolylineElement) StopColor ¶
func (e *PolylineElement) StopColor(stopColor String) *PolylineElement
StopColor sets the stop-color attribute.
func (*PolylineElement) StopOpacity ¶
func (e *PolylineElement) StopOpacity(stopOpacity Float64) *PolylineElement
StopOpacity sets the stop-opacity attribute.
func (*PolylineElement) Stroke ¶
func (e *PolylineElement) Stroke(stroke String) *PolylineElement
Stroke sets the stroke attribute.
func (*PolylineElement) StrokeDashArray ¶
func (e *PolylineElement) StrokeDashArray(strokeDashArray String) *PolylineElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*PolylineElement) StrokeDashOffset ¶
func (e *PolylineElement) StrokeDashOffset(strokeDashOffset Float64) *PolylineElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*PolylineElement) StrokeLineCap ¶
func (e *PolylineElement) StrokeLineCap(strokeLineCap String) *PolylineElement
StrokeLineCap sets the stroke-linecap attribute.
func (*PolylineElement) StrokeLineJoin ¶
func (e *PolylineElement) StrokeLineJoin(strokeLineJoin String) *PolylineElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*PolylineElement) StrokeMiterLimit ¶
func (e *PolylineElement) StrokeMiterLimit(strokeMiterLimit Float64) *PolylineElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*PolylineElement) StrokeOpacity ¶
func (e *PolylineElement) StrokeOpacity(strokeOpacity Float64) *PolylineElement
StrokeOpacity sets the stroke-opacity attribute.
func (*PolylineElement) StrokeWidth ¶
func (e *PolylineElement) StrokeWidth(strokeWidth Length) *PolylineElement
StrokeWidth sets the stroke-width attribute.
func (*PolylineElement) Style ¶
func (e *PolylineElement) Style(style String) *PolylineElement
Style sets the style attribute.
func (*PolylineElement) TabIndex ¶
func (e *PolylineElement) TabIndex(tabIndex Int) *PolylineElement
TabIndex sets the tabindex attribute.
func (*PolylineElement) TextAnchor ¶
func (e *PolylineElement) TextAnchor(textAnchor String) *PolylineElement
TextAnchor sets the text-anchor attribute.
func (*PolylineElement) TextDecoration ¶
func (e *PolylineElement) TextDecoration(textDecoration String) *PolylineElement
TextDecoration sets the text-decoration attribute.
func (*PolylineElement) TextOverflow ¶
func (e *PolylineElement) TextOverflow(textOverflow String) *PolylineElement
TextOverflow sets the text-overflow attribute.
func (*PolylineElement) TextRendering ¶
func (e *PolylineElement) TextRendering(textRendering String) *PolylineElement
TextRendering sets the text-rendering attribute.
func (*PolylineElement) UnicodeBiDi ¶
func (e *PolylineElement) UnicodeBiDi(UnicodeBiDi String) *PolylineElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*PolylineElement) VectorEffect ¶
func (e *PolylineElement) VectorEffect(vectorEffect String) *PolylineElement
VectorEffect sets the vector-effect attribute.
func (*PolylineElement) Visibility ¶
func (e *PolylineElement) Visibility(visibility String) *PolylineElement
Visibility sets the visibility attribute.
func (*PolylineElement) WhiteSpace ¶
func (e *PolylineElement) WhiteSpace(whiteSpace String) *PolylineElement
WhiteSpace sets the white-space attribute.
func (*PolylineElement) WordSpacing ¶
func (e *PolylineElement) WordSpacing(wordSpacing String) *PolylineElement
WordSpacing sets the word-spacing attribute.
func (*PolylineElement) WritingMode ¶
func (e *PolylineElement) WritingMode(writingMode String) *PolylineElement
WritingMode sets the writing-mode attribute.
type RectElement ¶
A RectElement is a rect element.
func (*RectElement) AlignmentBaseline ¶
func (e *RectElement) AlignmentBaseline(alignmentBaseline String) *RectElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*RectElement) AppendChildren ¶
func (e *RectElement) AppendChildren(children ...Element) *RectElement
AppendChildren appends the given children.
func (*RectElement) BaselineShift ¶
func (e *RectElement) BaselineShift(baselineShift String) *RectElement
BaselineShift sets the baseline-shift attribute.
func (*RectElement) Class ¶
func (e *RectElement) Class(class String) *RectElement
Class sets the class attribute.
func (*RectElement) ClipPath ¶
func (e *RectElement) ClipPath(clipPath String) *RectElement
ClipPath sets the clip-path attribute.
func (*RectElement) ClipRule ¶
func (e *RectElement) ClipRule(clipRule String) *RectElement
ClipRule sets the clip-rule attribute.
func (*RectElement) Color ¶
func (e *RectElement) Color(color String) *RectElement
Color sets the color attribute.
func (*RectElement) ColorInterpolation ¶
func (e *RectElement) ColorInterpolation(colorInterpolation String) *RectElement
ColorInterpolation sets the color-interpolation attribute.
func (*RectElement) ColorInterpolationFilters ¶
func (e *RectElement) ColorInterpolationFilters(colorInterpolationFilters String) *RectElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*RectElement) ColorRendering ¶
func (e *RectElement) ColorRendering(colorRendering String) *RectElement
ColorRendering sets the color-rendering attribute.
func (*RectElement) Cursor ¶
func (e *RectElement) Cursor(cursor String) *RectElement
Cursor sets the cursor attribute.
func (*RectElement) Direction ¶
func (e *RectElement) Direction(direction String) *RectElement
Direction sets the direction attribute.
func (*RectElement) Display ¶
func (e *RectElement) Display(display String) *RectElement
Display sets the display attribute.
func (*RectElement) DominantBaseline ¶
func (e *RectElement) DominantBaseline(dominantBaseline String) *RectElement
DominantBaseline sets the dominant-baseline attribute.
func (*RectElement) Fill ¶
func (e *RectElement) Fill(fill String) *RectElement
Fill sets the fill attribute.
func (*RectElement) FillOpacity ¶
func (e *RectElement) FillOpacity(fillOpacity Float64) *RectElement
FillOpacity sets the fill-opacity attribute.
func (*RectElement) FillRule ¶
func (e *RectElement) FillRule(fillRule String) *RectElement
FillRule sets the fill-rule attribute.
func (*RectElement) Filter ¶
func (e *RectElement) Filter(filter String) *RectElement
Filter sets the filter attribute.
func (*RectElement) FloodColor ¶
func (e *RectElement) FloodColor(floodColor String) *RectElement
FloodColor sets the flood-color attribute.
func (*RectElement) FloodOpacity ¶
func (e *RectElement) FloodOpacity(floodOpacity Float64) *RectElement
FloodOpacity sets the flood-opacity attribute.
func (*RectElement) FontFamily ¶
func (e *RectElement) FontFamily(fontFamily String) *RectElement
FontFamily sets the font-family attribute.
func (*RectElement) FontSize ¶
func (e *RectElement) FontSize(fontSize String) *RectElement
FontSize sets the font-size attribute.
func (*RectElement) FontSizeAdjust ¶
func (e *RectElement) FontSizeAdjust(fontSizeAdjust String) *RectElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*RectElement) FontStretch ¶
func (e *RectElement) FontStretch(fontStretch String) *RectElement
FontStretch sets the font-stretch attribute.
func (*RectElement) FontStyle ¶
func (e *RectElement) FontStyle(fontStyle String) *RectElement
FontStyle sets the font-style attribute.
func (*RectElement) FontVariant ¶
func (e *RectElement) FontVariant(fontVariant String) *RectElement
FontVariant sets the font-variant attribute.
func (*RectElement) FontWeight ¶
func (e *RectElement) FontWeight(fontWeight String) *RectElement
FontWeight sets the font-weight attribute.
func (*RectElement) GlyphOrientationHorizontal ¶
func (e *RectElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *RectElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*RectElement) GlyphOrientationVertical ¶
func (e *RectElement) GlyphOrientationVertical(glyphOrientationVertical String) *RectElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*RectElement) Height ¶
func (e *RectElement) Height(height Length) *RectElement
Height sets the height attribute.
func (*RectElement) ImageRendering ¶
func (e *RectElement) ImageRendering(imageRendering String) *RectElement
ImageRendering sets the image-rendering attribute.
func (*RectElement) Lang ¶
func (e *RectElement) Lang(lang String) *RectElement
Lang sets the lang attribute.
func (*RectElement) LetterSpacing ¶
func (e *RectElement) LetterSpacing(letterSpacing String) *RectElement
LetterSpacing sets the letter-spacing attribute.
func (*RectElement) LightingColor ¶
func (e *RectElement) LightingColor(lightingColor String) *RectElement
LightingColor sets the lighting-color attribute.
func (*RectElement) MarkerEnd ¶
func (e *RectElement) MarkerEnd(markerEnd String) *RectElement
MarkerEnd sets the marker-end attribute.
func (*RectElement) MarkerMid ¶
func (e *RectElement) MarkerMid(markerMid String) *RectElement
MarkerMid sets the marker-mid attribute.
func (*RectElement) MarkerStart ¶
func (e *RectElement) MarkerStart(markerStart String) *RectElement
MarkerStart sets the marker-start attribute.
func (*RectElement) MarshalXML ¶
func (e *RectElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*RectElement) Mask ¶
func (e *RectElement) Mask(mask String) *RectElement
Mask sets the mask attribute.
func (*RectElement) Opacity ¶
func (e *RectElement) Opacity(opacity Float64) *RectElement
Opacity sets the opacity attribute.
func (*RectElement) Overflow ¶
func (e *RectElement) Overflow(overflow String) *RectElement
Overflow sets the overflow attribute.
func (*RectElement) PaintOrder ¶
func (e *RectElement) PaintOrder(paintOrder String) *RectElement
PaintOrder sets the paint-order attribute.
func (*RectElement) PathLength ¶
func (e *RectElement) PathLength(pathLength String) *RectElement
PathLength sets the pathLength attribute.
func (*RectElement) PointerEvents ¶
func (e *RectElement) PointerEvents(pointerEvents String) *RectElement
PointerEvents sets the pointer-events attribute.
func (*RectElement) RXRY ¶
func (e *RectElement) RXRY(rx, ry float64, lengthFunc LengthFunc) *RectElement
RXRY sets the rx and ry attributes.
func (*RectElement) ShapeRendering ¶
func (e *RectElement) ShapeRendering(shapeRendering String) *RectElement
ShapeRendering sets the shape-rendering attribute.
func (*RectElement) StopColor ¶
func (e *RectElement) StopColor(stopColor String) *RectElement
StopColor sets the stop-color attribute.
func (*RectElement) StopOpacity ¶
func (e *RectElement) StopOpacity(stopOpacity Float64) *RectElement
StopOpacity sets the stop-opacity attribute.
func (*RectElement) Stroke ¶
func (e *RectElement) Stroke(stroke String) *RectElement
Stroke sets the stroke attribute.
func (*RectElement) StrokeDashArray ¶
func (e *RectElement) StrokeDashArray(strokeDashArray String) *RectElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*RectElement) StrokeDashOffset ¶
func (e *RectElement) StrokeDashOffset(strokeDashOffset Float64) *RectElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*RectElement) StrokeLineCap ¶
func (e *RectElement) StrokeLineCap(strokeLineCap String) *RectElement
StrokeLineCap sets the stroke-linecap attribute.
func (*RectElement) StrokeLineJoin ¶
func (e *RectElement) StrokeLineJoin(strokeLineJoin String) *RectElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*RectElement) StrokeMiterLimit ¶
func (e *RectElement) StrokeMiterLimit(strokeMiterLimit Float64) *RectElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*RectElement) StrokeOpacity ¶
func (e *RectElement) StrokeOpacity(strokeOpacity Float64) *RectElement
StrokeOpacity sets the stroke-opacity attribute.
func (*RectElement) StrokeWidth ¶
func (e *RectElement) StrokeWidth(strokeWidth Length) *RectElement
StrokeWidth sets the stroke-width attribute.
func (*RectElement) Style ¶
func (e *RectElement) Style(style String) *RectElement
Style sets the style attribute.
func (*RectElement) TabIndex ¶
func (e *RectElement) TabIndex(tabIndex Int) *RectElement
TabIndex sets the tabindex attribute.
func (*RectElement) TextAnchor ¶
func (e *RectElement) TextAnchor(textAnchor String) *RectElement
TextAnchor sets the text-anchor attribute.
func (*RectElement) TextDecoration ¶
func (e *RectElement) TextDecoration(textDecoration String) *RectElement
TextDecoration sets the text-decoration attribute.
func (*RectElement) TextOverflow ¶
func (e *RectElement) TextOverflow(textOverflow String) *RectElement
TextOverflow sets the text-overflow attribute.
func (*RectElement) TextRendering ¶
func (e *RectElement) TextRendering(textRendering String) *RectElement
TextRendering sets the text-rendering attribute.
func (*RectElement) UnicodeBiDi ¶
func (e *RectElement) UnicodeBiDi(UnicodeBiDi String) *RectElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*RectElement) VectorEffect ¶
func (e *RectElement) VectorEffect(vectorEffect String) *RectElement
VectorEffect sets the vector-effect attribute.
func (*RectElement) Visibility ¶
func (e *RectElement) Visibility(visibility String) *RectElement
Visibility sets the visibility attribute.
func (*RectElement) WhiteSpace ¶
func (e *RectElement) WhiteSpace(whiteSpace String) *RectElement
WhiteSpace sets the white-space attribute.
func (*RectElement) Width ¶
func (e *RectElement) Width(width Length) *RectElement
Width sets the width attribute.
func (*RectElement) WidthHeight ¶
func (e *RectElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *RectElement
WidthHeight sets the width and height attributes.
func (*RectElement) WordSpacing ¶
func (e *RectElement) WordSpacing(wordSpacing String) *RectElement
WordSpacing sets the word-spacing attribute.
func (*RectElement) WritingMode ¶
func (e *RectElement) WritingMode(writingMode String) *RectElement
WritingMode sets the writing-mode attribute.
func (*RectElement) XY ¶
func (e *RectElement) XY(x, y float64, lengthFunc LengthFunc) *RectElement
XY sets the x and y attributes.
func (*RectElement) XYWidthHeight ¶
func (e *RectElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *RectElement
XYWidthHeight sets the x, y, width, and height attributes.
type SVGElement ¶
An SVGElement is an svg element.
func New ¶
func New(children ...Element) *SVGElement
New returns a new SVGElement.
Example ¶
svgElement := svg.New().WidthHeight(4, 4, svg.CM).ViewBox(0, 0, 400, 400).AppendChildren( svg.Title(svg.CharData("Example triangle01- simple example of a 'path'")), svg.Desc(svg.CharData("A path that draws a triangle")), svg.Rect().XYWidthHeight(1, 1, 398, 398, svg.Number).Fill("none").Stroke("blue"), svg.Path().D(svgpath.New(). MoveToAbs([]float64{100, 100}). LineToAbs([]float64{300, 100}). LineToAbs([]float64{200, 300}). ClosePath(), ).Fill("red").Stroke("blue").StrokeWidth(svg.Number(3)), ) if _, err := svgElement.WriteToIndent(os.Stdout, "", " "); err != nil { panic(err) }
Output: <svg height="4cm" version="1.1" viewBox="0 0 400 400" width="4cm" xmlns="http://www.w3.org/2000/svg"> <title>Example triangle01- simple example of a 'path'</title> <desc>A path that draws a triangle</desc> <rect fill="none" height="398" stroke="blue" width="398" x="1" y="1"></rect> <path d="M100,100 L300,100 L200,300 z" fill="red" stroke="blue" stroke-width="3"></path> </svg>
func (*SVGElement) AppendChildren ¶
func (e *SVGElement) AppendChildren(children ...Element) *SVGElement
AppendChildren appends the given children.
func (*SVGElement) Height ¶
func (e *SVGElement) Height(height Length) *SVGElement
Height sets the height attribute.
func (*SVGElement) MarshalXML ¶
func (e *SVGElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*SVGElement) PreserveAspectRatio ¶
func (e *SVGElement) PreserveAspectRatio(preserveAspectRatio String) *SVGElement
PreserveAspectRatio sets the preserveAspectRatio attribute.
func (*SVGElement) String ¶
func (e *SVGElement) String() string
func (*SVGElement) Transform ¶
func (e *SVGElement) Transform(transform String) *SVGElement
Transform sets the transform attribute.
func (*SVGElement) Version ¶
func (e *SVGElement) Version(version String) *SVGElement
Version sets the version attribute.
func (*SVGElement) ViewBox ¶
func (e *SVGElement) ViewBox(minX, minY, width, height float64) *SVGElement
ViewBox sets the viewBox attribute.
func (*SVGElement) Width ¶
func (e *SVGElement) Width(width Length) *SVGElement
Width sets the width attribute.
func (*SVGElement) WidthHeight ¶
func (e *SVGElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *SVGElement
WidthHeight sets the width and height attributes.
func (*SVGElement) WriteTo ¶
func (e *SVGElement) WriteTo(w io.Writer) (int64, error)
WriteTo implements io.WriterTo.WriteTo. It writes encoding/xml.Header and then e to w.
func (*SVGElement) WriteToIndent ¶
WriteToIndent writes encoding/xml.Header and then e to w, indenting with prefix and indent.
func (*SVGElement) XMLNS ¶
func (e *SVGElement) XMLNS(xmlns String) *SVGElement
XMLNS sets the xmlns attribute.
func (*SVGElement) XY ¶
func (e *SVGElement) XY(x, y float64, lengthFunc LengthFunc) *SVGElement
XY sets the x and y attributes.
func (*SVGElement) XYWidthHeight ¶
func (e *SVGElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *SVGElement
XYWidthHeight sets the x, y, width, and height attributes.
func (*SVGElement) ZoomAndPan ¶
func (e *SVGElement) ZoomAndPan(zoomAndPan String) *SVGElement
ZoomAndPan sets the zoomAndPan attribute.
type StyleElement ¶
A StyleElement is a style element.
func (*StyleElement) AppendChildren ¶
func (e *StyleElement) AppendChildren(children ...Element) *StyleElement
AppendChildren appends the given children.
func (*StyleElement) MarshalXML ¶
func (e *StyleElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*StyleElement) Type ¶
func (e *StyleElement) Type(_type String) *StyleElement
Type sets the type attribute.
type SwitchElement ¶
A SwitchElement is a switch element.
func (*SwitchElement) AlignmentBaseline ¶
func (e *SwitchElement) AlignmentBaseline(alignmentBaseline String) *SwitchElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*SwitchElement) AppendChildren ¶
func (e *SwitchElement) AppendChildren(children ...Element) *SwitchElement
AppendChildren appends the given children.
func (*SwitchElement) BaselineShift ¶
func (e *SwitchElement) BaselineShift(baselineShift String) *SwitchElement
BaselineShift sets the baseline-shift attribute.
func (*SwitchElement) Class ¶
func (e *SwitchElement) Class(class String) *SwitchElement
Class sets the class attribute.
func (*SwitchElement) ClipPath ¶
func (e *SwitchElement) ClipPath(clipPath String) *SwitchElement
ClipPath sets the clip-path attribute.
func (*SwitchElement) ClipRule ¶
func (e *SwitchElement) ClipRule(clipRule String) *SwitchElement
ClipRule sets the clip-rule attribute.
func (*SwitchElement) Color ¶
func (e *SwitchElement) Color(color String) *SwitchElement
Color sets the color attribute.
func (*SwitchElement) ColorInterpolation ¶
func (e *SwitchElement) ColorInterpolation(colorInterpolation String) *SwitchElement
ColorInterpolation sets the color-interpolation attribute.
func (*SwitchElement) ColorInterpolationFilters ¶
func (e *SwitchElement) ColorInterpolationFilters(colorInterpolationFilters String) *SwitchElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*SwitchElement) ColorRendering ¶
func (e *SwitchElement) ColorRendering(colorRendering String) *SwitchElement
ColorRendering sets the color-rendering attribute.
func (*SwitchElement) Cursor ¶
func (e *SwitchElement) Cursor(cursor String) *SwitchElement
Cursor sets the cursor attribute.
func (*SwitchElement) Direction ¶
func (e *SwitchElement) Direction(direction String) *SwitchElement
Direction sets the direction attribute.
func (*SwitchElement) Display ¶
func (e *SwitchElement) Display(display String) *SwitchElement
Display sets the display attribute.
func (*SwitchElement) DominantBaseline ¶
func (e *SwitchElement) DominantBaseline(dominantBaseline String) *SwitchElement
DominantBaseline sets the dominant-baseline attribute.
func (*SwitchElement) Fill ¶
func (e *SwitchElement) Fill(fill String) *SwitchElement
Fill sets the fill attribute.
func (*SwitchElement) FillOpacity ¶
func (e *SwitchElement) FillOpacity(fillOpacity Float64) *SwitchElement
FillOpacity sets the fill-opacity attribute.
func (*SwitchElement) FillRule ¶
func (e *SwitchElement) FillRule(fillRule String) *SwitchElement
FillRule sets the fill-rule attribute.
func (*SwitchElement) Filter ¶
func (e *SwitchElement) Filter(filter String) *SwitchElement
Filter sets the filter attribute.
func (*SwitchElement) FloodColor ¶
func (e *SwitchElement) FloodColor(floodColor String) *SwitchElement
FloodColor sets the flood-color attribute.
func (*SwitchElement) FloodOpacity ¶
func (e *SwitchElement) FloodOpacity(floodOpacity Float64) *SwitchElement
FloodOpacity sets the flood-opacity attribute.
func (*SwitchElement) FontFamily ¶
func (e *SwitchElement) FontFamily(fontFamily String) *SwitchElement
FontFamily sets the font-family attribute.
func (*SwitchElement) FontSize ¶
func (e *SwitchElement) FontSize(fontSize String) *SwitchElement
FontSize sets the font-size attribute.
func (*SwitchElement) FontSizeAdjust ¶
func (e *SwitchElement) FontSizeAdjust(fontSizeAdjust String) *SwitchElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*SwitchElement) FontStretch ¶
func (e *SwitchElement) FontStretch(fontStretch String) *SwitchElement
FontStretch sets the font-stretch attribute.
func (*SwitchElement) FontStyle ¶
func (e *SwitchElement) FontStyle(fontStyle String) *SwitchElement
FontStyle sets the font-style attribute.
func (*SwitchElement) FontVariant ¶
func (e *SwitchElement) FontVariant(fontVariant String) *SwitchElement
FontVariant sets the font-variant attribute.
func (*SwitchElement) FontWeight ¶
func (e *SwitchElement) FontWeight(fontWeight String) *SwitchElement
FontWeight sets the font-weight attribute.
func (*SwitchElement) GlyphOrientationHorizontal ¶
func (e *SwitchElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *SwitchElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*SwitchElement) GlyphOrientationVertical ¶
func (e *SwitchElement) GlyphOrientationVertical(glyphOrientationVertical String) *SwitchElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*SwitchElement) ID ¶
func (e *SwitchElement) ID(id String) *SwitchElement
ID sets the id attribute.
func (*SwitchElement) ImageRendering ¶
func (e *SwitchElement) ImageRendering(imageRendering String) *SwitchElement
ImageRendering sets the image-rendering attribute.
func (*SwitchElement) Lang ¶
func (e *SwitchElement) Lang(lang String) *SwitchElement
Lang sets the lang attribute.
func (*SwitchElement) LetterSpacing ¶
func (e *SwitchElement) LetterSpacing(letterSpacing String) *SwitchElement
LetterSpacing sets the letter-spacing attribute.
func (*SwitchElement) LightingColor ¶
func (e *SwitchElement) LightingColor(lightingColor String) *SwitchElement
LightingColor sets the lighting-color attribute.
func (*SwitchElement) MarkerEnd ¶
func (e *SwitchElement) MarkerEnd(markerEnd String) *SwitchElement
MarkerEnd sets the marker-end attribute.
func (*SwitchElement) MarkerMid ¶
func (e *SwitchElement) MarkerMid(markerMid String) *SwitchElement
MarkerMid sets the marker-mid attribute.
func (*SwitchElement) MarkerStart ¶
func (e *SwitchElement) MarkerStart(markerStart String) *SwitchElement
MarkerStart sets the marker-start attribute.
func (*SwitchElement) MarshalXML ¶
func (e *SwitchElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*SwitchElement) Mask ¶
func (e *SwitchElement) Mask(mask String) *SwitchElement
Mask sets the mask attribute.
func (*SwitchElement) Opacity ¶
func (e *SwitchElement) Opacity(opacity Float64) *SwitchElement
Opacity sets the opacity attribute.
func (*SwitchElement) Overflow ¶
func (e *SwitchElement) Overflow(overflow String) *SwitchElement
Overflow sets the overflow attribute.
func (*SwitchElement) PaintOrder ¶
func (e *SwitchElement) PaintOrder(paintOrder String) *SwitchElement
PaintOrder sets the paint-order attribute.
func (*SwitchElement) PointerEvents ¶
func (e *SwitchElement) PointerEvents(pointerEvents String) *SwitchElement
PointerEvents sets the pointer-events attribute.
func (*SwitchElement) ShapeRendering ¶
func (e *SwitchElement) ShapeRendering(shapeRendering String) *SwitchElement
ShapeRendering sets the shape-rendering attribute.
func (*SwitchElement) StopColor ¶
func (e *SwitchElement) StopColor(stopColor String) *SwitchElement
StopColor sets the stop-color attribute.
func (*SwitchElement) StopOpacity ¶
func (e *SwitchElement) StopOpacity(stopOpacity Float64) *SwitchElement
StopOpacity sets the stop-opacity attribute.
func (*SwitchElement) Stroke ¶
func (e *SwitchElement) Stroke(stroke String) *SwitchElement
Stroke sets the stroke attribute.
func (*SwitchElement) StrokeDashArray ¶
func (e *SwitchElement) StrokeDashArray(strokeDashArray String) *SwitchElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*SwitchElement) StrokeDashOffset ¶
func (e *SwitchElement) StrokeDashOffset(strokeDashOffset Float64) *SwitchElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*SwitchElement) StrokeLineCap ¶
func (e *SwitchElement) StrokeLineCap(strokeLineCap String) *SwitchElement
StrokeLineCap sets the stroke-linecap attribute.
func (*SwitchElement) StrokeLineJoin ¶
func (e *SwitchElement) StrokeLineJoin(strokeLineJoin String) *SwitchElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*SwitchElement) StrokeMiterLimit ¶
func (e *SwitchElement) StrokeMiterLimit(strokeMiterLimit Float64) *SwitchElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*SwitchElement) StrokeOpacity ¶
func (e *SwitchElement) StrokeOpacity(strokeOpacity Float64) *SwitchElement
StrokeOpacity sets the stroke-opacity attribute.
func (*SwitchElement) StrokeWidth ¶
func (e *SwitchElement) StrokeWidth(strokeWidth Length) *SwitchElement
StrokeWidth sets the stroke-width attribute.
func (*SwitchElement) Style ¶
func (e *SwitchElement) Style(style String) *SwitchElement
Style sets the style attribute.
func (*SwitchElement) TabIndex ¶
func (e *SwitchElement) TabIndex(tabIndex Int) *SwitchElement
TabIndex sets the tabindex attribute.
func (*SwitchElement) TextAnchor ¶
func (e *SwitchElement) TextAnchor(textAnchor String) *SwitchElement
TextAnchor sets the text-anchor attribute.
func (*SwitchElement) TextDecoration ¶
func (e *SwitchElement) TextDecoration(textDecoration String) *SwitchElement
TextDecoration sets the text-decoration attribute.
func (*SwitchElement) TextOverflow ¶
func (e *SwitchElement) TextOverflow(textOverflow String) *SwitchElement
TextOverflow sets the text-overflow attribute.
func (*SwitchElement) TextRendering ¶
func (e *SwitchElement) TextRendering(textRendering String) *SwitchElement
TextRendering sets the text-rendering attribute.
func (*SwitchElement) UnicodeBiDi ¶
func (e *SwitchElement) UnicodeBiDi(UnicodeBiDi String) *SwitchElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*SwitchElement) VectorEffect ¶
func (e *SwitchElement) VectorEffect(vectorEffect String) *SwitchElement
VectorEffect sets the vector-effect attribute.
func (*SwitchElement) Visibility ¶
func (e *SwitchElement) Visibility(visibility String) *SwitchElement
Visibility sets the visibility attribute.
func (*SwitchElement) WhiteSpace ¶
func (e *SwitchElement) WhiteSpace(whiteSpace String) *SwitchElement
WhiteSpace sets the white-space attribute.
func (*SwitchElement) WordSpacing ¶
func (e *SwitchElement) WordSpacing(wordSpacing String) *SwitchElement
WordSpacing sets the word-spacing attribute.
func (*SwitchElement) WritingMode ¶
func (e *SwitchElement) WritingMode(writingMode String) *SwitchElement
WritingMode sets the writing-mode attribute.
type SymbolElement ¶
A SymbolElement is a symbol element.
func (*SymbolElement) AlignmentBaseline ¶
func (e *SymbolElement) AlignmentBaseline(alignmentBaseline String) *SymbolElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*SymbolElement) AppendChildren ¶
func (e *SymbolElement) AppendChildren(children ...Element) *SymbolElement
AppendChildren appends the given children.
func (*SymbolElement) BaselineShift ¶
func (e *SymbolElement) BaselineShift(baselineShift String) *SymbolElement
BaselineShift sets the baseline-shift attribute.
func (*SymbolElement) Class ¶
func (e *SymbolElement) Class(class String) *SymbolElement
Class sets the class attribute.
func (*SymbolElement) ClipPath ¶
func (e *SymbolElement) ClipPath(clipPath String) *SymbolElement
ClipPath sets the clip-path attribute.
func (*SymbolElement) ClipRule ¶
func (e *SymbolElement) ClipRule(clipRule String) *SymbolElement
ClipRule sets the clip-rule attribute.
func (*SymbolElement) Color ¶
func (e *SymbolElement) Color(color String) *SymbolElement
Color sets the color attribute.
func (*SymbolElement) ColorInterpolation ¶
func (e *SymbolElement) ColorInterpolation(colorInterpolation String) *SymbolElement
ColorInterpolation sets the color-interpolation attribute.
func (*SymbolElement) ColorInterpolationFilters ¶
func (e *SymbolElement) ColorInterpolationFilters(colorInterpolationFilters String) *SymbolElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*SymbolElement) ColorRendering ¶
func (e *SymbolElement) ColorRendering(colorRendering String) *SymbolElement
ColorRendering sets the color-rendering attribute.
func (*SymbolElement) Cursor ¶
func (e *SymbolElement) Cursor(cursor String) *SymbolElement
Cursor sets the cursor attribute.
func (*SymbolElement) Direction ¶
func (e *SymbolElement) Direction(direction String) *SymbolElement
Direction sets the direction attribute.
func (*SymbolElement) Display ¶
func (e *SymbolElement) Display(display String) *SymbolElement
Display sets the display attribute.
func (*SymbolElement) DominantBaseline ¶
func (e *SymbolElement) DominantBaseline(dominantBaseline String) *SymbolElement
DominantBaseline sets the dominant-baseline attribute.
func (*SymbolElement) Fill ¶
func (e *SymbolElement) Fill(fill String) *SymbolElement
Fill sets the fill attribute.
func (*SymbolElement) FillOpacity ¶
func (e *SymbolElement) FillOpacity(fillOpacity Float64) *SymbolElement
FillOpacity sets the fill-opacity attribute.
func (*SymbolElement) FillRule ¶
func (e *SymbolElement) FillRule(fillRule String) *SymbolElement
FillRule sets the fill-rule attribute.
func (*SymbolElement) Filter ¶
func (e *SymbolElement) Filter(filter String) *SymbolElement
Filter sets the filter attribute.
func (*SymbolElement) FloodColor ¶
func (e *SymbolElement) FloodColor(floodColor String) *SymbolElement
FloodColor sets the flood-color attribute.
func (*SymbolElement) FloodOpacity ¶
func (e *SymbolElement) FloodOpacity(floodOpacity Float64) *SymbolElement
FloodOpacity sets the flood-opacity attribute.
func (*SymbolElement) FontFamily ¶
func (e *SymbolElement) FontFamily(fontFamily String) *SymbolElement
FontFamily sets the font-family attribute.
func (*SymbolElement) FontSize ¶
func (e *SymbolElement) FontSize(fontSize String) *SymbolElement
FontSize sets the font-size attribute.
func (*SymbolElement) FontSizeAdjust ¶
func (e *SymbolElement) FontSizeAdjust(fontSizeAdjust String) *SymbolElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*SymbolElement) FontStretch ¶
func (e *SymbolElement) FontStretch(fontStretch String) *SymbolElement
FontStretch sets the font-stretch attribute.
func (*SymbolElement) FontStyle ¶
func (e *SymbolElement) FontStyle(fontStyle String) *SymbolElement
FontStyle sets the font-style attribute.
func (*SymbolElement) FontVariant ¶
func (e *SymbolElement) FontVariant(fontVariant String) *SymbolElement
FontVariant sets the font-variant attribute.
func (*SymbolElement) FontWeight ¶
func (e *SymbolElement) FontWeight(fontWeight String) *SymbolElement
FontWeight sets the font-weight attribute.
func (*SymbolElement) GlyphOrientationHorizontal ¶
func (e *SymbolElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *SymbolElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*SymbolElement) GlyphOrientationVertical ¶
func (e *SymbolElement) GlyphOrientationVertical(glyphOrientationVertical String) *SymbolElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*SymbolElement) Height ¶
func (e *SymbolElement) Height(height Length) *SymbolElement
Height sets the height attribute.
func (*SymbolElement) ID ¶
func (e *SymbolElement) ID(id String) *SymbolElement
ID sets the id attribute.
func (*SymbolElement) ImageRendering ¶
func (e *SymbolElement) ImageRendering(imageRendering String) *SymbolElement
ImageRendering sets the image-rendering attribute.
func (*SymbolElement) Lang ¶
func (e *SymbolElement) Lang(lang String) *SymbolElement
Lang sets the lang attribute.
func (*SymbolElement) LetterSpacing ¶
func (e *SymbolElement) LetterSpacing(letterSpacing String) *SymbolElement
LetterSpacing sets the letter-spacing attribute.
func (*SymbolElement) LightingColor ¶
func (e *SymbolElement) LightingColor(lightingColor String) *SymbolElement
LightingColor sets the lighting-color attribute.
func (*SymbolElement) MarkerEnd ¶
func (e *SymbolElement) MarkerEnd(markerEnd String) *SymbolElement
MarkerEnd sets the marker-end attribute.
func (*SymbolElement) MarkerMid ¶
func (e *SymbolElement) MarkerMid(markerMid String) *SymbolElement
MarkerMid sets the marker-mid attribute.
func (*SymbolElement) MarkerStart ¶
func (e *SymbolElement) MarkerStart(markerStart String) *SymbolElement
MarkerStart sets the marker-start attribute.
func (*SymbolElement) MarshalXML ¶
func (e *SymbolElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*SymbolElement) Mask ¶
func (e *SymbolElement) Mask(mask String) *SymbolElement
Mask sets the mask attribute.
func (*SymbolElement) Opacity ¶
func (e *SymbolElement) Opacity(opacity Float64) *SymbolElement
Opacity sets the opacity attribute.
func (*SymbolElement) Overflow ¶
func (e *SymbolElement) Overflow(overflow String) *SymbolElement
Overflow sets the overflow attribute.
func (*SymbolElement) PaintOrder ¶
func (e *SymbolElement) PaintOrder(paintOrder String) *SymbolElement
PaintOrder sets the paint-order attribute.
func (*SymbolElement) PointerEvents ¶
func (e *SymbolElement) PointerEvents(pointerEvents String) *SymbolElement
PointerEvents sets the pointer-events attribute.
func (*SymbolElement) PreserveAspectRatio ¶
func (e *SymbolElement) PreserveAspectRatio(preserveAspectRatio String) *SymbolElement
PreserveAspectRatio sets the preserveAspectRatio attribute.
func (*SymbolElement) RefX ¶
func (e *SymbolElement) RefX(refX String) *SymbolElement
RefX sets the refX attribute.
func (*SymbolElement) RefY ¶
func (e *SymbolElement) RefY(refY String) *SymbolElement
RefY sets the refY attribute.
func (*SymbolElement) ShapeRendering ¶
func (e *SymbolElement) ShapeRendering(shapeRendering String) *SymbolElement
ShapeRendering sets the shape-rendering attribute.
func (*SymbolElement) StopColor ¶
func (e *SymbolElement) StopColor(stopColor String) *SymbolElement
StopColor sets the stop-color attribute.
func (*SymbolElement) StopOpacity ¶
func (e *SymbolElement) StopOpacity(stopOpacity Float64) *SymbolElement
StopOpacity sets the stop-opacity attribute.
func (*SymbolElement) Stroke ¶
func (e *SymbolElement) Stroke(stroke String) *SymbolElement
Stroke sets the stroke attribute.
func (*SymbolElement) StrokeDashArray ¶
func (e *SymbolElement) StrokeDashArray(strokeDashArray String) *SymbolElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*SymbolElement) StrokeDashOffset ¶
func (e *SymbolElement) StrokeDashOffset(strokeDashOffset Float64) *SymbolElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*SymbolElement) StrokeLineCap ¶
func (e *SymbolElement) StrokeLineCap(strokeLineCap String) *SymbolElement
StrokeLineCap sets the stroke-linecap attribute.
func (*SymbolElement) StrokeLineJoin ¶
func (e *SymbolElement) StrokeLineJoin(strokeLineJoin String) *SymbolElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*SymbolElement) StrokeMiterLimit ¶
func (e *SymbolElement) StrokeMiterLimit(strokeMiterLimit Float64) *SymbolElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*SymbolElement) StrokeOpacity ¶
func (e *SymbolElement) StrokeOpacity(strokeOpacity Float64) *SymbolElement
StrokeOpacity sets the stroke-opacity attribute.
func (*SymbolElement) StrokeWidth ¶
func (e *SymbolElement) StrokeWidth(strokeWidth Length) *SymbolElement
StrokeWidth sets the stroke-width attribute.
func (*SymbolElement) Style ¶
func (e *SymbolElement) Style(style String) *SymbolElement
Style sets the style attribute.
func (*SymbolElement) TabIndex ¶
func (e *SymbolElement) TabIndex(tabIndex Int) *SymbolElement
TabIndex sets the tabindex attribute.
func (*SymbolElement) TextAnchor ¶
func (e *SymbolElement) TextAnchor(textAnchor String) *SymbolElement
TextAnchor sets the text-anchor attribute.
func (*SymbolElement) TextDecoration ¶
func (e *SymbolElement) TextDecoration(textDecoration String) *SymbolElement
TextDecoration sets the text-decoration attribute.
func (*SymbolElement) TextOverflow ¶
func (e *SymbolElement) TextOverflow(textOverflow String) *SymbolElement
TextOverflow sets the text-overflow attribute.
func (*SymbolElement) TextRendering ¶
func (e *SymbolElement) TextRendering(textRendering String) *SymbolElement
TextRendering sets the text-rendering attribute.
func (*SymbolElement) UnicodeBiDi ¶
func (e *SymbolElement) UnicodeBiDi(UnicodeBiDi String) *SymbolElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*SymbolElement) VectorEffect ¶
func (e *SymbolElement) VectorEffect(vectorEffect String) *SymbolElement
VectorEffect sets the vector-effect attribute.
func (*SymbolElement) ViewBox ¶
func (e *SymbolElement) ViewBox(minX, minY, width, height float64) *SymbolElement
ViewBox sets the viewBox attribute.
func (*SymbolElement) Visibility ¶
func (e *SymbolElement) Visibility(visibility String) *SymbolElement
Visibility sets the visibility attribute.
func (*SymbolElement) WhiteSpace ¶
func (e *SymbolElement) WhiteSpace(whiteSpace String) *SymbolElement
WhiteSpace sets the white-space attribute.
func (*SymbolElement) Width ¶
func (e *SymbolElement) Width(width Length) *SymbolElement
Width sets the width attribute.
func (*SymbolElement) WidthHeight ¶
func (e *SymbolElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *SymbolElement
WidthHeight sets the width and height attributes.
func (*SymbolElement) WordSpacing ¶
func (e *SymbolElement) WordSpacing(wordSpacing String) *SymbolElement
WordSpacing sets the word-spacing attribute.
func (*SymbolElement) WritingMode ¶
func (e *SymbolElement) WritingMode(writingMode String) *SymbolElement
WritingMode sets the writing-mode attribute.
func (*SymbolElement) X ¶
func (e *SymbolElement) X(x Length) *SymbolElement
X sets the x attribute.
func (*SymbolElement) XY ¶
func (e *SymbolElement) XY(x, y float64, lengthFunc LengthFunc) *SymbolElement
XY sets the x and y attributes.
func (*SymbolElement) XYWidthHeight ¶
func (e *SymbolElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *SymbolElement
XYWidthHeight sets the x, y, width, and height attributes.
func (*SymbolElement) Y ¶
func (e *SymbolElement) Y(y Length) *SymbolElement
Y sets the y attribute.
type TSpanElement ¶
A TSpanElement is a tspan element.
func (*TSpanElement) AlignmentBaseline ¶
func (e *TSpanElement) AlignmentBaseline(alignmentBaseline String) *TSpanElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*TSpanElement) AppendChildren ¶
func (e *TSpanElement) AppendChildren(children ...Element) *TSpanElement
AppendChildren appends the given children.
func (*TSpanElement) BaselineShift ¶
func (e *TSpanElement) BaselineShift(baselineShift String) *TSpanElement
BaselineShift sets the baseline-shift attribute.
func (*TSpanElement) Class ¶
func (e *TSpanElement) Class(class String) *TSpanElement
Class sets the class attribute.
func (*TSpanElement) ClipPath ¶
func (e *TSpanElement) ClipPath(clipPath String) *TSpanElement
ClipPath sets the clip-path attribute.
func (*TSpanElement) ClipRule ¶
func (e *TSpanElement) ClipRule(clipRule String) *TSpanElement
ClipRule sets the clip-rule attribute.
func (*TSpanElement) Color ¶
func (e *TSpanElement) Color(color String) *TSpanElement
Color sets the color attribute.
func (*TSpanElement) ColorInterpolation ¶
func (e *TSpanElement) ColorInterpolation(colorInterpolation String) *TSpanElement
ColorInterpolation sets the color-interpolation attribute.
func (*TSpanElement) ColorInterpolationFilters ¶
func (e *TSpanElement) ColorInterpolationFilters(colorInterpolationFilters String) *TSpanElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*TSpanElement) ColorRendering ¶
func (e *TSpanElement) ColorRendering(colorRendering String) *TSpanElement
ColorRendering sets the color-rendering attribute.
func (*TSpanElement) Cursor ¶
func (e *TSpanElement) Cursor(cursor String) *TSpanElement
Cursor sets the cursor attribute.
func (*TSpanElement) Direction ¶
func (e *TSpanElement) Direction(direction String) *TSpanElement
Direction sets the direction attribute.
func (*TSpanElement) Display ¶
func (e *TSpanElement) Display(display String) *TSpanElement
Display sets the display attribute.
func (*TSpanElement) DominantBaseline ¶
func (e *TSpanElement) DominantBaseline(dominantBaseline String) *TSpanElement
DominantBaseline sets the dominant-baseline attribute.
func (*TSpanElement) Dx ¶
func (e *TSpanElement) Dx(dx String) *TSpanElement
Dx sets the dx attribute.
func (*TSpanElement) Dy ¶
func (e *TSpanElement) Dy(dy String) *TSpanElement
Dy sets the dy attribute.
func (*TSpanElement) Fill ¶
func (e *TSpanElement) Fill(fill String) *TSpanElement
Fill sets the fill attribute.
func (*TSpanElement) FillOpacity ¶
func (e *TSpanElement) FillOpacity(fillOpacity Float64) *TSpanElement
FillOpacity sets the fill-opacity attribute.
func (*TSpanElement) FillRule ¶
func (e *TSpanElement) FillRule(fillRule String) *TSpanElement
FillRule sets the fill-rule attribute.
func (*TSpanElement) Filter ¶
func (e *TSpanElement) Filter(filter String) *TSpanElement
Filter sets the filter attribute.
func (*TSpanElement) FloodColor ¶
func (e *TSpanElement) FloodColor(floodColor String) *TSpanElement
FloodColor sets the flood-color attribute.
func (*TSpanElement) FloodOpacity ¶
func (e *TSpanElement) FloodOpacity(floodOpacity Float64) *TSpanElement
FloodOpacity sets the flood-opacity attribute.
func (*TSpanElement) FontFamily ¶
func (e *TSpanElement) FontFamily(fontFamily String) *TSpanElement
FontFamily sets the font-family attribute.
func (*TSpanElement) FontSize ¶
func (e *TSpanElement) FontSize(fontSize String) *TSpanElement
FontSize sets the font-size attribute.
func (*TSpanElement) FontSizeAdjust ¶
func (e *TSpanElement) FontSizeAdjust(fontSizeAdjust String) *TSpanElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*TSpanElement) FontStretch ¶
func (e *TSpanElement) FontStretch(fontStretch String) *TSpanElement
FontStretch sets the font-stretch attribute.
func (*TSpanElement) FontStyle ¶
func (e *TSpanElement) FontStyle(fontStyle String) *TSpanElement
FontStyle sets the font-style attribute.
func (*TSpanElement) FontVariant ¶
func (e *TSpanElement) FontVariant(fontVariant String) *TSpanElement
FontVariant sets the font-variant attribute.
func (*TSpanElement) FontWeight ¶
func (e *TSpanElement) FontWeight(fontWeight String) *TSpanElement
FontWeight sets the font-weight attribute.
func (*TSpanElement) GlyphOrientationHorizontal ¶
func (e *TSpanElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *TSpanElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*TSpanElement) GlyphOrientationVertical ¶
func (e *TSpanElement) GlyphOrientationVertical(glyphOrientationVertical String) *TSpanElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*TSpanElement) ID ¶
func (e *TSpanElement) ID(id String) *TSpanElement
ID sets the id attribute.
func (*TSpanElement) ImageRendering ¶
func (e *TSpanElement) ImageRendering(imageRendering String) *TSpanElement
ImageRendering sets the image-rendering attribute.
func (*TSpanElement) Lang ¶
func (e *TSpanElement) Lang(lang String) *TSpanElement
Lang sets the lang attribute.
func (*TSpanElement) LengthAdjust ¶
func (e *TSpanElement) LengthAdjust(lengthAdjust String) *TSpanElement
LengthAdjust sets the lengthAdjust attribute.
func (*TSpanElement) LetterSpacing ¶
func (e *TSpanElement) LetterSpacing(letterSpacing String) *TSpanElement
LetterSpacing sets the letter-spacing attribute.
func (*TSpanElement) LightingColor ¶
func (e *TSpanElement) LightingColor(lightingColor String) *TSpanElement
LightingColor sets the lighting-color attribute.
func (*TSpanElement) MarkerEnd ¶
func (e *TSpanElement) MarkerEnd(markerEnd String) *TSpanElement
MarkerEnd sets the marker-end attribute.
func (*TSpanElement) MarkerMid ¶
func (e *TSpanElement) MarkerMid(markerMid String) *TSpanElement
MarkerMid sets the marker-mid attribute.
func (*TSpanElement) MarkerStart ¶
func (e *TSpanElement) MarkerStart(markerStart String) *TSpanElement
MarkerStart sets the marker-start attribute.
func (*TSpanElement) MarshalXML ¶
func (e *TSpanElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*TSpanElement) Mask ¶
func (e *TSpanElement) Mask(mask String) *TSpanElement
Mask sets the mask attribute.
func (*TSpanElement) Opacity ¶
func (e *TSpanElement) Opacity(opacity Float64) *TSpanElement
Opacity sets the opacity attribute.
func (*TSpanElement) Overflow ¶
func (e *TSpanElement) Overflow(overflow String) *TSpanElement
Overflow sets the overflow attribute.
func (*TSpanElement) PaintOrder ¶
func (e *TSpanElement) PaintOrder(paintOrder String) *TSpanElement
PaintOrder sets the paint-order attribute.
func (*TSpanElement) PointerEvents ¶
func (e *TSpanElement) PointerEvents(pointerEvents String) *TSpanElement
PointerEvents sets the pointer-events attribute.
func (*TSpanElement) Rotate ¶
func (e *TSpanElement) Rotate(rotate String) *TSpanElement
Rotate sets the rotate attribute.
func (*TSpanElement) ShapeRendering ¶
func (e *TSpanElement) ShapeRendering(shapeRendering String) *TSpanElement
ShapeRendering sets the shape-rendering attribute.
func (*TSpanElement) StopColor ¶
func (e *TSpanElement) StopColor(stopColor String) *TSpanElement
StopColor sets the stop-color attribute.
func (*TSpanElement) StopOpacity ¶
func (e *TSpanElement) StopOpacity(stopOpacity Float64) *TSpanElement
StopOpacity sets the stop-opacity attribute.
func (*TSpanElement) Stroke ¶
func (e *TSpanElement) Stroke(stroke String) *TSpanElement
Stroke sets the stroke attribute.
func (*TSpanElement) StrokeDashArray ¶
func (e *TSpanElement) StrokeDashArray(strokeDashArray String) *TSpanElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*TSpanElement) StrokeDashOffset ¶
func (e *TSpanElement) StrokeDashOffset(strokeDashOffset Float64) *TSpanElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*TSpanElement) StrokeLineCap ¶
func (e *TSpanElement) StrokeLineCap(strokeLineCap String) *TSpanElement
StrokeLineCap sets the stroke-linecap attribute.
func (*TSpanElement) StrokeLineJoin ¶
func (e *TSpanElement) StrokeLineJoin(strokeLineJoin String) *TSpanElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*TSpanElement) StrokeMiterLimit ¶
func (e *TSpanElement) StrokeMiterLimit(strokeMiterLimit Float64) *TSpanElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*TSpanElement) StrokeOpacity ¶
func (e *TSpanElement) StrokeOpacity(strokeOpacity Float64) *TSpanElement
StrokeOpacity sets the stroke-opacity attribute.
func (*TSpanElement) StrokeWidth ¶
func (e *TSpanElement) StrokeWidth(strokeWidth Length) *TSpanElement
StrokeWidth sets the stroke-width attribute.
func (*TSpanElement) Style ¶
func (e *TSpanElement) Style(style String) *TSpanElement
Style sets the style attribute.
func (*TSpanElement) TabIndex ¶
func (e *TSpanElement) TabIndex(tabIndex Int) *TSpanElement
TabIndex sets the tabindex attribute.
func (*TSpanElement) TextAnchor ¶
func (e *TSpanElement) TextAnchor(textAnchor String) *TSpanElement
TextAnchor sets the text-anchor attribute.
func (*TSpanElement) TextDecoration ¶
func (e *TSpanElement) TextDecoration(textDecoration String) *TSpanElement
TextDecoration sets the text-decoration attribute.
func (*TSpanElement) TextLength ¶
func (e *TSpanElement) TextLength(textLength String) *TSpanElement
TextLength sets the textLength attribute.
func (*TSpanElement) TextOverflow ¶
func (e *TSpanElement) TextOverflow(textOverflow String) *TSpanElement
TextOverflow sets the text-overflow attribute.
func (*TSpanElement) TextRendering ¶
func (e *TSpanElement) TextRendering(textRendering String) *TSpanElement
TextRendering sets the text-rendering attribute.
func (*TSpanElement) UnicodeBiDi ¶
func (e *TSpanElement) UnicodeBiDi(UnicodeBiDi String) *TSpanElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*TSpanElement) VectorEffect ¶
func (e *TSpanElement) VectorEffect(vectorEffect String) *TSpanElement
VectorEffect sets the vector-effect attribute.
func (*TSpanElement) Visibility ¶
func (e *TSpanElement) Visibility(visibility String) *TSpanElement
Visibility sets the visibility attribute.
func (*TSpanElement) WhiteSpace ¶
func (e *TSpanElement) WhiteSpace(whiteSpace String) *TSpanElement
WhiteSpace sets the white-space attribute.
func (*TSpanElement) WordSpacing ¶
func (e *TSpanElement) WordSpacing(wordSpacing String) *TSpanElement
WordSpacing sets the word-spacing attribute.
func (*TSpanElement) WritingMode ¶
func (e *TSpanElement) WritingMode(writingMode String) *TSpanElement
WritingMode sets the writing-mode attribute.
func (*TSpanElement) XY ¶
func (e *TSpanElement) XY(x, y float64) *TSpanElement
XY sets the x and y attributes.
type TextElement ¶
A TextElement is a text element.
func (*TextElement) AlignmentBaseline ¶
func (e *TextElement) AlignmentBaseline(alignmentBaseline String) *TextElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*TextElement) AppendChildren ¶
func (e *TextElement) AppendChildren(children ...Element) *TextElement
AppendChildren appends the given children.
func (*TextElement) BaselineShift ¶
func (e *TextElement) BaselineShift(baselineShift String) *TextElement
BaselineShift sets the baseline-shift attribute.
func (*TextElement) Class ¶
func (e *TextElement) Class(class String) *TextElement
Class sets the class attribute.
func (*TextElement) ClipPath ¶
func (e *TextElement) ClipPath(clipPath String) *TextElement
ClipPath sets the clip-path attribute.
func (*TextElement) ClipRule ¶
func (e *TextElement) ClipRule(clipRule String) *TextElement
ClipRule sets the clip-rule attribute.
func (*TextElement) Color ¶
func (e *TextElement) Color(color String) *TextElement
Color sets the color attribute.
func (*TextElement) ColorInterpolation ¶
func (e *TextElement) ColorInterpolation(colorInterpolation String) *TextElement
ColorInterpolation sets the color-interpolation attribute.
func (*TextElement) ColorInterpolationFilters ¶
func (e *TextElement) ColorInterpolationFilters(colorInterpolationFilters String) *TextElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*TextElement) ColorRendering ¶
func (e *TextElement) ColorRendering(colorRendering String) *TextElement
ColorRendering sets the color-rendering attribute.
func (*TextElement) Cursor ¶
func (e *TextElement) Cursor(cursor String) *TextElement
Cursor sets the cursor attribute.
func (*TextElement) Direction ¶
func (e *TextElement) Direction(direction String) *TextElement
Direction sets the direction attribute.
func (*TextElement) Display ¶
func (e *TextElement) Display(display String) *TextElement
Display sets the display attribute.
func (*TextElement) DominantBaseline ¶
func (e *TextElement) DominantBaseline(dominantBaseline String) *TextElement
DominantBaseline sets the dominant-baseline attribute.
func (*TextElement) Fill ¶
func (e *TextElement) Fill(fill String) *TextElement
Fill sets the fill attribute.
func (*TextElement) FillOpacity ¶
func (e *TextElement) FillOpacity(fillOpacity Float64) *TextElement
FillOpacity sets the fill-opacity attribute.
func (*TextElement) FillRule ¶
func (e *TextElement) FillRule(fillRule String) *TextElement
FillRule sets the fill-rule attribute.
func (*TextElement) Filter ¶
func (e *TextElement) Filter(filter String) *TextElement
Filter sets the filter attribute.
func (*TextElement) FloodColor ¶
func (e *TextElement) FloodColor(floodColor String) *TextElement
FloodColor sets the flood-color attribute.
func (*TextElement) FloodOpacity ¶
func (e *TextElement) FloodOpacity(floodOpacity Float64) *TextElement
FloodOpacity sets the flood-opacity attribute.
func (*TextElement) FontFamily ¶
func (e *TextElement) FontFamily(fontFamily String) *TextElement
FontFamily sets the font-family attribute.
func (*TextElement) FontSize ¶
func (e *TextElement) FontSize(fontSize String) *TextElement
FontSize sets the font-size attribute.
func (*TextElement) FontSizeAdjust ¶
func (e *TextElement) FontSizeAdjust(fontSizeAdjust String) *TextElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*TextElement) FontStretch ¶
func (e *TextElement) FontStretch(fontStretch String) *TextElement
FontStretch sets the font-stretch attribute.
func (*TextElement) FontStyle ¶
func (e *TextElement) FontStyle(fontStyle String) *TextElement
FontStyle sets the font-style attribute.
func (*TextElement) FontVariant ¶
func (e *TextElement) FontVariant(fontVariant String) *TextElement
FontVariant sets the font-variant attribute.
func (*TextElement) FontWeight ¶
func (e *TextElement) FontWeight(fontWeight String) *TextElement
FontWeight sets the font-weight attribute.
func (*TextElement) GlyphOrientationHorizontal ¶
func (e *TextElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *TextElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*TextElement) GlyphOrientationVertical ¶
func (e *TextElement) GlyphOrientationVertical(glyphOrientationVertical String) *TextElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*TextElement) ImageRendering ¶
func (e *TextElement) ImageRendering(imageRendering String) *TextElement
ImageRendering sets the image-rendering attribute.
func (*TextElement) Lang ¶
func (e *TextElement) Lang(lang String) *TextElement
Lang sets the lang attribute.
func (*TextElement) LengthAdjust ¶
func (e *TextElement) LengthAdjust(lengthAdjust String) *TextElement
LengthAdjust sets the lengthAdjust attribute.
func (*TextElement) LetterSpacing ¶
func (e *TextElement) LetterSpacing(letterSpacing String) *TextElement
LetterSpacing sets the letter-spacing attribute.
func (*TextElement) LightingColor ¶
func (e *TextElement) LightingColor(lightingColor String) *TextElement
LightingColor sets the lighting-color attribute.
func (*TextElement) MarkerEnd ¶
func (e *TextElement) MarkerEnd(markerEnd String) *TextElement
MarkerEnd sets the marker-end attribute.
func (*TextElement) MarkerMid ¶
func (e *TextElement) MarkerMid(markerMid String) *TextElement
MarkerMid sets the marker-mid attribute.
func (*TextElement) MarkerStart ¶
func (e *TextElement) MarkerStart(markerStart String) *TextElement
MarkerStart sets the marker-start attribute.
func (*TextElement) MarshalXML ¶
func (e *TextElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*TextElement) Mask ¶
func (e *TextElement) Mask(mask String) *TextElement
Mask sets the mask attribute.
func (*TextElement) Opacity ¶
func (e *TextElement) Opacity(opacity Float64) *TextElement
Opacity sets the opacity attribute.
func (*TextElement) Overflow ¶
func (e *TextElement) Overflow(overflow String) *TextElement
Overflow sets the overflow attribute.
func (*TextElement) PaintOrder ¶
func (e *TextElement) PaintOrder(paintOrder String) *TextElement
PaintOrder sets the paint-order attribute.
func (*TextElement) PointerEvents ¶
func (e *TextElement) PointerEvents(pointerEvents String) *TextElement
PointerEvents sets the pointer-events attribute.
func (*TextElement) Rotate ¶
func (e *TextElement) Rotate(rotate String) *TextElement
Rotate sets the rotate attribute.
func (*TextElement) ShapeRendering ¶
func (e *TextElement) ShapeRendering(shapeRendering String) *TextElement
ShapeRendering sets the shape-rendering attribute.
func (*TextElement) StopColor ¶
func (e *TextElement) StopColor(stopColor String) *TextElement
StopColor sets the stop-color attribute.
func (*TextElement) StopOpacity ¶
func (e *TextElement) StopOpacity(stopOpacity Float64) *TextElement
StopOpacity sets the stop-opacity attribute.
func (*TextElement) Stroke ¶
func (e *TextElement) Stroke(stroke String) *TextElement
Stroke sets the stroke attribute.
func (*TextElement) StrokeDashArray ¶
func (e *TextElement) StrokeDashArray(strokeDashArray String) *TextElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*TextElement) StrokeDashOffset ¶
func (e *TextElement) StrokeDashOffset(strokeDashOffset Float64) *TextElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*TextElement) StrokeLineCap ¶
func (e *TextElement) StrokeLineCap(strokeLineCap String) *TextElement
StrokeLineCap sets the stroke-linecap attribute.
func (*TextElement) StrokeLineJoin ¶
func (e *TextElement) StrokeLineJoin(strokeLineJoin String) *TextElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*TextElement) StrokeMiterLimit ¶
func (e *TextElement) StrokeMiterLimit(strokeMiterLimit Float64) *TextElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*TextElement) StrokeOpacity ¶
func (e *TextElement) StrokeOpacity(strokeOpacity Float64) *TextElement
StrokeOpacity sets the stroke-opacity attribute.
func (*TextElement) StrokeWidth ¶
func (e *TextElement) StrokeWidth(strokeWidth Length) *TextElement
StrokeWidth sets the stroke-width attribute.
func (*TextElement) Style ¶
func (e *TextElement) Style(style String) *TextElement
Style sets the style attribute.
func (*TextElement) TabIndex ¶
func (e *TextElement) TabIndex(tabIndex Int) *TextElement
TabIndex sets the tabindex attribute.
func (*TextElement) TextAnchor ¶
func (e *TextElement) TextAnchor(textAnchor String) *TextElement
TextAnchor sets the text-anchor attribute.
func (*TextElement) TextDecoration ¶
func (e *TextElement) TextDecoration(textDecoration String) *TextElement
TextDecoration sets the text-decoration attribute.
func (*TextElement) TextLength ¶
func (e *TextElement) TextLength(textLength String) *TextElement
TextLength sets the textLength attribute.
func (*TextElement) TextOverflow ¶
func (e *TextElement) TextOverflow(textOverflow String) *TextElement
TextOverflow sets the text-overflow attribute.
func (*TextElement) TextRendering ¶
func (e *TextElement) TextRendering(textRendering String) *TextElement
TextRendering sets the text-rendering attribute.
func (*TextElement) UnicodeBiDi ¶
func (e *TextElement) UnicodeBiDi(UnicodeBiDi String) *TextElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*TextElement) VectorEffect ¶
func (e *TextElement) VectorEffect(vectorEffect String) *TextElement
VectorEffect sets the vector-effect attribute.
func (*TextElement) Visibility ¶
func (e *TextElement) Visibility(visibility String) *TextElement
Visibility sets the visibility attribute.
func (*TextElement) WhiteSpace ¶
func (e *TextElement) WhiteSpace(whiteSpace String) *TextElement
WhiteSpace sets the white-space attribute.
func (*TextElement) WordSpacing ¶
func (e *TextElement) WordSpacing(wordSpacing String) *TextElement
WordSpacing sets the word-spacing attribute.
func (*TextElement) WritingMode ¶
func (e *TextElement) WritingMode(writingMode String) *TextElement
WritingMode sets the writing-mode attribute.
func (*TextElement) XY ¶
func (e *TextElement) XY(x, y float64, lengthFunc LengthFunc) *TextElement
XY sets the x and y attributes.
type TextPathElement ¶
A TextPathElement is a textPath element.
func TextPath ¶
func TextPath(children ...Element) *TextPathElement
TextPath returns a new TextPathElement.
func (*TextPathElement) AlignmentBaseline ¶
func (e *TextPathElement) AlignmentBaseline(alignmentBaseline String) *TextPathElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*TextPathElement) AppendChildren ¶
func (e *TextPathElement) AppendChildren(children ...Element) *TextPathElement
AppendChildren appends the given children.
func (*TextPathElement) BaselineShift ¶
func (e *TextPathElement) BaselineShift(baselineShift String) *TextPathElement
BaselineShift sets the baseline-shift attribute.
func (*TextPathElement) Class ¶
func (e *TextPathElement) Class(class String) *TextPathElement
Class sets the class attribute.
func (*TextPathElement) ClipPath ¶
func (e *TextPathElement) ClipPath(clipPath String) *TextPathElement
ClipPath sets the clip-path attribute.
func (*TextPathElement) ClipRule ¶
func (e *TextPathElement) ClipRule(clipRule String) *TextPathElement
ClipRule sets the clip-rule attribute.
func (*TextPathElement) Color ¶
func (e *TextPathElement) Color(color String) *TextPathElement
Color sets the color attribute.
func (*TextPathElement) ColorInterpolation ¶
func (e *TextPathElement) ColorInterpolation(colorInterpolation String) *TextPathElement
ColorInterpolation sets the color-interpolation attribute.
func (*TextPathElement) ColorInterpolationFilters ¶
func (e *TextPathElement) ColorInterpolationFilters(colorInterpolationFilters String) *TextPathElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*TextPathElement) ColorRendering ¶
func (e *TextPathElement) ColorRendering(colorRendering String) *TextPathElement
ColorRendering sets the color-rendering attribute.
func (*TextPathElement) Cursor ¶
func (e *TextPathElement) Cursor(cursor String) *TextPathElement
Cursor sets the cursor attribute.
func (*TextPathElement) Direction ¶
func (e *TextPathElement) Direction(direction String) *TextPathElement
Direction sets the direction attribute.
func (*TextPathElement) Display ¶
func (e *TextPathElement) Display(display String) *TextPathElement
Display sets the display attribute.
func (*TextPathElement) DominantBaseline ¶
func (e *TextPathElement) DominantBaseline(dominantBaseline String) *TextPathElement
DominantBaseline sets the dominant-baseline attribute.
func (*TextPathElement) Fill ¶
func (e *TextPathElement) Fill(fill String) *TextPathElement
Fill sets the fill attribute.
func (*TextPathElement) FillOpacity ¶
func (e *TextPathElement) FillOpacity(fillOpacity Float64) *TextPathElement
FillOpacity sets the fill-opacity attribute.
func (*TextPathElement) FillRule ¶
func (e *TextPathElement) FillRule(fillRule String) *TextPathElement
FillRule sets the fill-rule attribute.
func (*TextPathElement) Filter ¶
func (e *TextPathElement) Filter(filter String) *TextPathElement
Filter sets the filter attribute.
func (*TextPathElement) FloodColor ¶
func (e *TextPathElement) FloodColor(floodColor String) *TextPathElement
FloodColor sets the flood-color attribute.
func (*TextPathElement) FloodOpacity ¶
func (e *TextPathElement) FloodOpacity(floodOpacity Float64) *TextPathElement
FloodOpacity sets the flood-opacity attribute.
func (*TextPathElement) FontFamily ¶
func (e *TextPathElement) FontFamily(fontFamily String) *TextPathElement
FontFamily sets the font-family attribute.
func (*TextPathElement) FontSize ¶
func (e *TextPathElement) FontSize(fontSize String) *TextPathElement
FontSize sets the font-size attribute.
func (*TextPathElement) FontSizeAdjust ¶
func (e *TextPathElement) FontSizeAdjust(fontSizeAdjust String) *TextPathElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*TextPathElement) FontStretch ¶
func (e *TextPathElement) FontStretch(fontStretch String) *TextPathElement
FontStretch sets the font-stretch attribute.
func (*TextPathElement) FontStyle ¶
func (e *TextPathElement) FontStyle(fontStyle String) *TextPathElement
FontStyle sets the font-style attribute.
func (*TextPathElement) FontVariant ¶
func (e *TextPathElement) FontVariant(fontVariant String) *TextPathElement
FontVariant sets the font-variant attribute.
func (*TextPathElement) FontWeight ¶
func (e *TextPathElement) FontWeight(fontWeight String) *TextPathElement
FontWeight sets the font-weight attribute.
func (*TextPathElement) GlyphOrientationHorizontal ¶
func (e *TextPathElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *TextPathElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*TextPathElement) GlyphOrientationVertical ¶
func (e *TextPathElement) GlyphOrientationVertical(glyphOrientationVertical String) *TextPathElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*TextPathElement) Href ¶
func (e *TextPathElement) Href(href String) *TextPathElement
Href sets the href attribute.
func (*TextPathElement) ID ¶
func (e *TextPathElement) ID(id String) *TextPathElement
ID sets the id attribute.
func (*TextPathElement) ImageRendering ¶
func (e *TextPathElement) ImageRendering(imageRendering String) *TextPathElement
ImageRendering sets the image-rendering attribute.
func (*TextPathElement) Lang ¶
func (e *TextPathElement) Lang(lang String) *TextPathElement
Lang sets the lang attribute.
func (*TextPathElement) LengthAdjust ¶
func (e *TextPathElement) LengthAdjust(lengthAdjust String) *TextPathElement
LengthAdjust sets the lengthAdjust attribute.
func (*TextPathElement) LetterSpacing ¶
func (e *TextPathElement) LetterSpacing(letterSpacing String) *TextPathElement
LetterSpacing sets the letter-spacing attribute.
func (*TextPathElement) LightingColor ¶
func (e *TextPathElement) LightingColor(lightingColor String) *TextPathElement
LightingColor sets the lighting-color attribute.
func (*TextPathElement) MarkerEnd ¶
func (e *TextPathElement) MarkerEnd(markerEnd String) *TextPathElement
MarkerEnd sets the marker-end attribute.
func (*TextPathElement) MarkerMid ¶
func (e *TextPathElement) MarkerMid(markerMid String) *TextPathElement
MarkerMid sets the marker-mid attribute.
func (*TextPathElement) MarkerStart ¶
func (e *TextPathElement) MarkerStart(markerStart String) *TextPathElement
MarkerStart sets the marker-start attribute.
func (*TextPathElement) MarshalXML ¶
func (e *TextPathElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*TextPathElement) Mask ¶
func (e *TextPathElement) Mask(mask String) *TextPathElement
Mask sets the mask attribute.
func (*TextPathElement) Method ¶
func (e *TextPathElement) Method(method String) *TextPathElement
Method sets the method attribute.
func (*TextPathElement) Opacity ¶
func (e *TextPathElement) Opacity(opacity Float64) *TextPathElement
Opacity sets the opacity attribute.
func (*TextPathElement) Overflow ¶
func (e *TextPathElement) Overflow(overflow String) *TextPathElement
Overflow sets the overflow attribute.
func (*TextPathElement) PaintOrder ¶
func (e *TextPathElement) PaintOrder(paintOrder String) *TextPathElement
PaintOrder sets the paint-order attribute.
func (*TextPathElement) Path ¶
func (e *TextPathElement) Path(path String) *TextPathElement
Path sets the path attribute.
func (*TextPathElement) PointerEvents ¶
func (e *TextPathElement) PointerEvents(pointerEvents String) *TextPathElement
PointerEvents sets the pointer-events attribute.
func (*TextPathElement) ShapeRendering ¶
func (e *TextPathElement) ShapeRendering(shapeRendering String) *TextPathElement
ShapeRendering sets the shape-rendering attribute.
func (*TextPathElement) Side ¶
func (e *TextPathElement) Side(side String) *TextPathElement
Side sets the side attribute.
func (*TextPathElement) Spacing ¶
func (e *TextPathElement) Spacing(spacing String) *TextPathElement
Spacing sets the spacing attribute.
func (*TextPathElement) StartOffset ¶
func (e *TextPathElement) StartOffset(startOffset String) *TextPathElement
StartOffset sets the startOffset attribute.
func (*TextPathElement) StopColor ¶
func (e *TextPathElement) StopColor(stopColor String) *TextPathElement
StopColor sets the stop-color attribute.
func (*TextPathElement) StopOpacity ¶
func (e *TextPathElement) StopOpacity(stopOpacity Float64) *TextPathElement
StopOpacity sets the stop-opacity attribute.
func (*TextPathElement) Stroke ¶
func (e *TextPathElement) Stroke(stroke String) *TextPathElement
Stroke sets the stroke attribute.
func (*TextPathElement) StrokeDashArray ¶
func (e *TextPathElement) StrokeDashArray(strokeDashArray String) *TextPathElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*TextPathElement) StrokeDashOffset ¶
func (e *TextPathElement) StrokeDashOffset(strokeDashOffset Float64) *TextPathElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*TextPathElement) StrokeLineCap ¶
func (e *TextPathElement) StrokeLineCap(strokeLineCap String) *TextPathElement
StrokeLineCap sets the stroke-linecap attribute.
func (*TextPathElement) StrokeLineJoin ¶
func (e *TextPathElement) StrokeLineJoin(strokeLineJoin String) *TextPathElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*TextPathElement) StrokeMiterLimit ¶
func (e *TextPathElement) StrokeMiterLimit(strokeMiterLimit Float64) *TextPathElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*TextPathElement) StrokeOpacity ¶
func (e *TextPathElement) StrokeOpacity(strokeOpacity Float64) *TextPathElement
StrokeOpacity sets the stroke-opacity attribute.
func (*TextPathElement) StrokeWidth ¶
func (e *TextPathElement) StrokeWidth(strokeWidth Length) *TextPathElement
StrokeWidth sets the stroke-width attribute.
func (*TextPathElement) Style ¶
func (e *TextPathElement) Style(style String) *TextPathElement
Style sets the style attribute.
func (*TextPathElement) TabIndex ¶
func (e *TextPathElement) TabIndex(tabIndex Int) *TextPathElement
TabIndex sets the tabindex attribute.
func (*TextPathElement) TextAnchor ¶
func (e *TextPathElement) TextAnchor(textAnchor String) *TextPathElement
TextAnchor sets the text-anchor attribute.
func (*TextPathElement) TextDecoration ¶
func (e *TextPathElement) TextDecoration(textDecoration String) *TextPathElement
TextDecoration sets the text-decoration attribute.
func (*TextPathElement) TextLength ¶
func (e *TextPathElement) TextLength(textLength String) *TextPathElement
TextLength sets the textLength attribute.
func (*TextPathElement) TextOverflow ¶
func (e *TextPathElement) TextOverflow(textOverflow String) *TextPathElement
TextOverflow sets the text-overflow attribute.
func (*TextPathElement) TextRendering ¶
func (e *TextPathElement) TextRendering(textRendering String) *TextPathElement
TextRendering sets the text-rendering attribute.
func (*TextPathElement) UnicodeBiDi ¶
func (e *TextPathElement) UnicodeBiDi(UnicodeBiDi String) *TextPathElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*TextPathElement) VectorEffect ¶
func (e *TextPathElement) VectorEffect(vectorEffect String) *TextPathElement
VectorEffect sets the vector-effect attribute.
func (*TextPathElement) Visibility ¶
func (e *TextPathElement) Visibility(visibility String) *TextPathElement
Visibility sets the visibility attribute.
func (*TextPathElement) WhiteSpace ¶
func (e *TextPathElement) WhiteSpace(whiteSpace String) *TextPathElement
WhiteSpace sets the white-space attribute.
func (*TextPathElement) WordSpacing ¶
func (e *TextPathElement) WordSpacing(wordSpacing String) *TextPathElement
WordSpacing sets the word-spacing attribute.
func (*TextPathElement) WritingMode ¶
func (e *TextPathElement) WritingMode(writingMode String) *TextPathElement
WritingMode sets the writing-mode attribute.
type TitleElement ¶
A TitleElement is a title element.
func (*TitleElement) AppendChildren ¶
func (e *TitleElement) AppendChildren(children ...Element) *TitleElement
AppendChildren appends the given children.
func (*TitleElement) MarshalXML ¶
func (e *TitleElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
type UseElement ¶
A UseElement is a use element.
func (*UseElement) AlignmentBaseline ¶
func (e *UseElement) AlignmentBaseline(alignmentBaseline String) *UseElement
AlignmentBaseline sets the alignment-baseline attribute.
func (*UseElement) AppendChildren ¶
func (e *UseElement) AppendChildren(children ...Element) *UseElement
AppendChildren appends the given children.
func (*UseElement) BaselineShift ¶
func (e *UseElement) BaselineShift(baselineShift String) *UseElement
BaselineShift sets the baseline-shift attribute.
func (*UseElement) Class ¶
func (e *UseElement) Class(class String) *UseElement
Class sets the class attribute.
func (*UseElement) ClipPath ¶
func (e *UseElement) ClipPath(clipPath String) *UseElement
ClipPath sets the clip-path attribute.
func (*UseElement) ClipRule ¶
func (e *UseElement) ClipRule(clipRule String) *UseElement
ClipRule sets the clip-rule attribute.
func (*UseElement) Color ¶
func (e *UseElement) Color(color String) *UseElement
Color sets the color attribute.
func (*UseElement) ColorInterpolation ¶
func (e *UseElement) ColorInterpolation(colorInterpolation String) *UseElement
ColorInterpolation sets the color-interpolation attribute.
func (*UseElement) ColorInterpolationFilters ¶
func (e *UseElement) ColorInterpolationFilters(colorInterpolationFilters String) *UseElement
ColorInterpolationFilters sets the color-interpolation-filters attribute.
func (*UseElement) ColorRendering ¶
func (e *UseElement) ColorRendering(colorRendering String) *UseElement
ColorRendering sets the color-rendering attribute.
func (*UseElement) Cursor ¶
func (e *UseElement) Cursor(cursor String) *UseElement
Cursor sets the cursor attribute.
func (*UseElement) Direction ¶
func (e *UseElement) Direction(direction String) *UseElement
Direction sets the direction attribute.
func (*UseElement) Display ¶
func (e *UseElement) Display(display String) *UseElement
Display sets the display attribute.
func (*UseElement) DominantBaseline ¶
func (e *UseElement) DominantBaseline(dominantBaseline String) *UseElement
DominantBaseline sets the dominant-baseline attribute.
func (*UseElement) Fill ¶
func (e *UseElement) Fill(fill String) *UseElement
Fill sets the fill attribute.
func (*UseElement) FillOpacity ¶
func (e *UseElement) FillOpacity(fillOpacity Float64) *UseElement
FillOpacity sets the fill-opacity attribute.
func (*UseElement) FillRule ¶
func (e *UseElement) FillRule(fillRule String) *UseElement
FillRule sets the fill-rule attribute.
func (*UseElement) Filter ¶
func (e *UseElement) Filter(filter String) *UseElement
Filter sets the filter attribute.
func (*UseElement) FloodColor ¶
func (e *UseElement) FloodColor(floodColor String) *UseElement
FloodColor sets the flood-color attribute.
func (*UseElement) FloodOpacity ¶
func (e *UseElement) FloodOpacity(floodOpacity Float64) *UseElement
FloodOpacity sets the flood-opacity attribute.
func (*UseElement) FontFamily ¶
func (e *UseElement) FontFamily(fontFamily String) *UseElement
FontFamily sets the font-family attribute.
func (*UseElement) FontSize ¶
func (e *UseElement) FontSize(fontSize String) *UseElement
FontSize sets the font-size attribute.
func (*UseElement) FontSizeAdjust ¶
func (e *UseElement) FontSizeAdjust(fontSizeAdjust String) *UseElement
FontSizeAdjust sets the font-size-adjust attribute.
func (*UseElement) FontStretch ¶
func (e *UseElement) FontStretch(fontStretch String) *UseElement
FontStretch sets the font-stretch attribute.
func (*UseElement) FontStyle ¶
func (e *UseElement) FontStyle(fontStyle String) *UseElement
FontStyle sets the font-style attribute.
func (*UseElement) FontVariant ¶
func (e *UseElement) FontVariant(fontVariant String) *UseElement
FontVariant sets the font-variant attribute.
func (*UseElement) FontWeight ¶
func (e *UseElement) FontWeight(fontWeight String) *UseElement
FontWeight sets the font-weight attribute.
func (*UseElement) GlyphOrientationHorizontal ¶
func (e *UseElement) GlyphOrientationHorizontal(glyphOrientationHorizontal String) *UseElement
GlyphOrientationHorizontal sets the glyph-orientation-horizontal attribute.
func (*UseElement) GlyphOrientationVertical ¶
func (e *UseElement) GlyphOrientationVertical(glyphOrientationVertical String) *UseElement
GlyphOrientationVertical sets the glyph-orientation-vertical attribute.
func (*UseElement) Height ¶
func (e *UseElement) Height(height Length) *UseElement
Height sets the height attribute.
func (*UseElement) Href ¶
func (e *UseElement) Href(href String) *UseElement
Href sets the href attribute.
func (*UseElement) ImageRendering ¶
func (e *UseElement) ImageRendering(imageRendering String) *UseElement
ImageRendering sets the image-rendering attribute.
func (*UseElement) Lang ¶
func (e *UseElement) Lang(lang String) *UseElement
Lang sets the lang attribute.
func (*UseElement) LetterSpacing ¶
func (e *UseElement) LetterSpacing(letterSpacing String) *UseElement
LetterSpacing sets the letter-spacing attribute.
func (*UseElement) LightingColor ¶
func (e *UseElement) LightingColor(lightingColor String) *UseElement
LightingColor sets the lighting-color attribute.
func (*UseElement) MarkerEnd ¶
func (e *UseElement) MarkerEnd(markerEnd String) *UseElement
MarkerEnd sets the marker-end attribute.
func (*UseElement) MarkerMid ¶
func (e *UseElement) MarkerMid(markerMid String) *UseElement
MarkerMid sets the marker-mid attribute.
func (*UseElement) MarkerStart ¶
func (e *UseElement) MarkerStart(markerStart String) *UseElement
MarkerStart sets the marker-start attribute.
func (*UseElement) MarshalXML ¶
func (e *UseElement) MarshalXML(encoder *xml.Encoder, _ xml.StartElement) error
MarshallXML implements encoding/xml.Marshaller.MarshalXML.
func (*UseElement) Mask ¶
func (e *UseElement) Mask(mask String) *UseElement
Mask sets the mask attribute.
func (*UseElement) Opacity ¶
func (e *UseElement) Opacity(opacity Float64) *UseElement
Opacity sets the opacity attribute.
func (*UseElement) Overflow ¶
func (e *UseElement) Overflow(overflow String) *UseElement
Overflow sets the overflow attribute.
func (*UseElement) PaintOrder ¶
func (e *UseElement) PaintOrder(paintOrder String) *UseElement
PaintOrder sets the paint-order attribute.
func (*UseElement) PointerEvents ¶
func (e *UseElement) PointerEvents(pointerEvents String) *UseElement
PointerEvents sets the pointer-events attribute.
func (*UseElement) ShapeRendering ¶
func (e *UseElement) ShapeRendering(shapeRendering String) *UseElement
ShapeRendering sets the shape-rendering attribute.
func (*UseElement) StopColor ¶
func (e *UseElement) StopColor(stopColor String) *UseElement
StopColor sets the stop-color attribute.
func (*UseElement) StopOpacity ¶
func (e *UseElement) StopOpacity(stopOpacity Float64) *UseElement
StopOpacity sets the stop-opacity attribute.
func (*UseElement) Stroke ¶
func (e *UseElement) Stroke(stroke String) *UseElement
Stroke sets the stroke attribute.
func (*UseElement) StrokeDashArray ¶
func (e *UseElement) StrokeDashArray(strokeDashArray String) *UseElement
StrokeDashArray sets the stroke-dasharray attribute.
func (*UseElement) StrokeDashOffset ¶
func (e *UseElement) StrokeDashOffset(strokeDashOffset Float64) *UseElement
StrokeDashOffset sets the stroke-dashoffset attribute.
func (*UseElement) StrokeLineCap ¶
func (e *UseElement) StrokeLineCap(strokeLineCap String) *UseElement
StrokeLineCap sets the stroke-linecap attribute.
func (*UseElement) StrokeLineJoin ¶
func (e *UseElement) StrokeLineJoin(strokeLineJoin String) *UseElement
StrokeLineJoin sets the stroke-linejoin attribute.
func (*UseElement) StrokeMiterLimit ¶
func (e *UseElement) StrokeMiterLimit(strokeMiterLimit Float64) *UseElement
StrokeMiterLimit sets the stroke-miterlimit attribute.
func (*UseElement) StrokeOpacity ¶
func (e *UseElement) StrokeOpacity(strokeOpacity Float64) *UseElement
StrokeOpacity sets the stroke-opacity attribute.
func (*UseElement) StrokeWidth ¶
func (e *UseElement) StrokeWidth(strokeWidth Length) *UseElement
StrokeWidth sets the stroke-width attribute.
func (*UseElement) Style ¶
func (e *UseElement) Style(style String) *UseElement
Style sets the style attribute.
func (*UseElement) TabIndex ¶
func (e *UseElement) TabIndex(tabIndex Int) *UseElement
TabIndex sets the tabindex attribute.
func (*UseElement) TextAnchor ¶
func (e *UseElement) TextAnchor(textAnchor String) *UseElement
TextAnchor sets the text-anchor attribute.
func (*UseElement) TextDecoration ¶
func (e *UseElement) TextDecoration(textDecoration String) *UseElement
TextDecoration sets the text-decoration attribute.
func (*UseElement) TextOverflow ¶
func (e *UseElement) TextOverflow(textOverflow String) *UseElement
TextOverflow sets the text-overflow attribute.
func (*UseElement) TextRendering ¶
func (e *UseElement) TextRendering(textRendering String) *UseElement
TextRendering sets the text-rendering attribute.
func (*UseElement) UnicodeBiDi ¶
func (e *UseElement) UnicodeBiDi(UnicodeBiDi String) *UseElement
UnicodeBiDi sets the unicode-bidi attribute.
func (*UseElement) VectorEffect ¶
func (e *UseElement) VectorEffect(vectorEffect String) *UseElement
VectorEffect sets the vector-effect attribute.
func (*UseElement) Visibility ¶
func (e *UseElement) Visibility(visibility String) *UseElement
Visibility sets the visibility attribute.
func (*UseElement) WhiteSpace ¶
func (e *UseElement) WhiteSpace(whiteSpace String) *UseElement
WhiteSpace sets the white-space attribute.
func (*UseElement) Width ¶
func (e *UseElement) Width(width Length) *UseElement
Width sets the width attribute.
func (*UseElement) WidthHeight ¶
func (e *UseElement) WidthHeight(width, height float64, lengthFunc LengthFunc) *UseElement
WidthHeight sets the width and height attributes.
func (*UseElement) WordSpacing ¶
func (e *UseElement) WordSpacing(wordSpacing String) *UseElement
WordSpacing sets the word-spacing attribute.
func (*UseElement) WritingMode ¶
func (e *UseElement) WritingMode(writingMode String) *UseElement
WritingMode sets the writing-mode attribute.
func (*UseElement) XY ¶
func (e *UseElement) XY(x, y float64, lengthFunc LengthFunc) *UseElement
XY sets the x and y attributes.
func (*UseElement) XYWidthHeight ¶
func (e *UseElement) XYWidthHeight(x, y, width, height float64, lengthFunc LengthFunc) *UseElement
XYWidthHeight sets the x, y, width, and height attributes.