svg

ff4s.Dsl.svg
object svg extends SvgTags, SvgAttrs

Attributes

Source
Dsl.scala
Graph
Supertypes
trait SvgAttrs
trait SvgTags
class Object
trait Matchable
class Any
Self type
svg.type

Members list

Value members

Inherited methods

protected def doubleSvgAttr(name: String): SvgAttr[Double]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
protected def intSvgAttr(name: String): SvgAttr[Int]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
protected def stringSvgAttr(name: String, namespace: String): SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
protected def stringSvgAttr(name: String): SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
def svgAttr[V](name: String, codec: Codec[V, String], namespace: Option[String]): SvgAttr[V]

Create SVG attribute (Note: for HTML attrs, use L.htmlAttr)

Create SVG attribute (Note: for HTML attrs, use L.htmlAttr)

Type parameters

V

- value type for this attr in Scala

Value parameters

codec

- used to encode V into String, e.g. StringAsIsCodec

name

- name of the attribute, e.g. "value"

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
def svgTag[Ref <: Element](name: String): SvgTag[Ref]

Create SVG tag

Create SVG tag

Note: this simply creates an instance of HtmlTag. - This does not create the element (to do that, call .apply() on the returned tag instance)

Type parameters

Ref

- type of elements with this tag, e.g. dom.svg.Circle for "circle" tag

Value parameters

name

- e.g. "circle"

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala

Concrete fields

lazy val `class`: SvgAttr[String]

Attributes

Source
Dsl.scala
lazy val className: SvgAttr[String]

Attributes

Source
Dsl.scala
lazy val cls: SvgAttr[String]

Attributes

Source
Dsl.scala

Inherited fields

lazy val `type`: SvgAttr[String]

Aliases: typ, tpe

Aliases: typ, tpe

type @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val a: SvgTag[SVGAElement]

Represents a hyperlink, linking to another resource.

Represents a hyperlink, linking to another resource.

- a @ MDN - SVGAElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val accentHeight: SvgAttr[Double]

This attribute defines the distance from the origin to the top of accent characters, measured by a distance within the font coordinate system.

This attribute defines the distance from the origin to the top of accent characters, measured by a distance within the font coordinate system. If the attribute is not specified, the effect is as if the attribute were set to the value of the ascent attribute.

Value <number>

accent-height @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val accumulate: SvgAttr[String]

This attribute controls whether or not the animation is cumulative.

This attribute controls whether or not the animation is cumulative. It is frequently useful for repeated animations to build upon the previous results, accumulating with each iteration. This attribute said to the animation if the value is added to the previous animated attribute's value on each iteration.

Value none | sum

accumulate @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val additive: SvgAttr[String]

This attribute controls whether or not the animation is additive.

This attribute controls whether or not the animation is additive. It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values. This attribute said to the animation if their values are added to the original animated attribute's value.

Value replace | sum

additive @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val alignmentBaseline: SvgAttr[String]

The alignment-baseline attribute specifies how an object is aligned with respect to its parent.

The alignment-baseline attribute specifies how an object is aligned with respect to its parent. This property specifies which baseline of this element is to be aligned with the corresponding baseline of the parent. For example, this allows alphabetic baselines in Roman text to stay aligned across font size changes. It defaults to the baseline with the same name as the computed value of the alignment-baseline property. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css alignment-baseline for further information.

Value: auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | inherit

alignment-baseline @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val altGlyph: SvgTag[SVGElement]

The altGlyph element allows sophisticated selection of the glyphs used to render its child character data.

The altGlyph element allows sophisticated selection of the glyphs used to render its child character data.

altGlyph @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val altGlyphDef: SvgTag[SVGElement]

The altGlyphDef element defines a substitution representation for glyphs.

The altGlyphDef element defines a substitution representation for glyphs.

altGlyphDef @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val altGlyphItem: SvgTag[SVGElement]

The altGlyphItem element provides a set of candidates for glyph substitution by the altGlyph element.

The altGlyphItem element provides a set of candidates for glyph substitution by the altGlyph element.

altGlyphItem @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val animate: SvgTag[SVGElement]

The animate element is put inside a shape element and defines how an attribute of an element changes over the animation

The animate element is put inside a shape element and defines how an attribute of an element changes over the animation

animate @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val animateMotion: SvgTag[SVGElement]

The animateMotion element causes a referenced element to move along a motion path.

The animateMotion element causes a referenced element to move along a motion path.

animateMotion @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val animateTransform: SvgTag[SVGElement]

The animateTransform element animates a transformation attribute on a target element, thereby allowing animations to control translation, scaling, rotation and/or skewing.

The animateTransform element animates a transformation attribute on a target element, thereby allowing animations to control translation, scaling, rotation and/or skewing.

animateTransform @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val ascent: SvgAttr[Double]

This attribute defines the maximum unaccented depth of the font within the font coordinate system.

This attribute defines the maximum unaccented depth of the font within the font coordinate system. If the attribute is not specified, the effect is as if the attribute were set to the vert-origin-y value for the corresponding font.

Value <number>

ascent @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val attributeName: SvgAttr[String]

This attribute indicates the name of the attribute in the parent element that is going to be changed during an animation.

This attribute indicates the name of the attribute in the parent element that is going to be changed during an animation.

Value <attributeName>

attributeName @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val attributeType: SvgAttr[String]

This attribute specifies the namespace in which the target attribute and its associated values are defined.

This attribute specifies the namespace in which the target attribute and its associated values are defined.

Value CSS | XML | auto

attributeType @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val azimuth: SvgAttr[Double]

The azimuth attribute represent the direction angle for the light source on the XY plane (clockwise), in degrees from the x axis.

The azimuth attribute represent the direction angle for the light source on the XY plane (clockwise), in degrees from the x axis. If the attribute is not specified, then the effect is as if a value of 0 were specified.

Value <number>

azimuth @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val baseFrequency: SvgAttr[String]

The baseFrequency attribute represent The base frequencies parameter for the noise function of the <feturbulence> primitive.

The baseFrequency attribute represent The base frequencies parameter for the noise function of the <feturbulence> primitive. If two <number>s are provided, the first number represents a base frequency in the X direction and the second value represents a base frequency in the Y direction. If one number is provided, then that value is used for both X and Y. Negative values are forbidden. If the attribute is not specified, then the effect is as if a value of 0 were specified.

Value <number-optional-number>

baseFrequency @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val baselineShift: SvgAttr[String]

The baseline-shift attribute allows repositioning of the dominant-baseline relative to the dominant-baseline of the parent text content element.

The baseline-shift attribute allows repositioning of the dominant-baseline relative to the dominant-baseline of the parent text content element. The shifted object might be a sub- or superscript. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css baseline-shift for further information.

Value auto | baseline | sup | sub | <percentage> | <length> | inherit

baseline-shift @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val begin: SvgAttr[String]

This attribute defines when an animation should begin.

This attribute defines when an animation should begin. The attribute value is a semicolon separated list of values. The interpretation of a list of start times is detailed in the SMIL specification in "Evaluation of begin and end time lists". Each individual value can be one of the following: <offset-value>, <syncbase-value>, <event-value>, <repeat-value>, <accessKey-value>, <wallclock-sync-value> or the keyword indefinite.

Value <begin-value-list>

begin @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val bias: SvgAttr[Double]

The bias attribute shifts the range of the filter.

The bias attribute shifts the range of the filter. After applying the kernelMatrix of the <feConvolveMatrix> element to the input image to yield a number and applied the divisor attribute, the bias attribute is added to each component. This allows representation of values that would otherwise be clamped to 0 or 1. If bias is not specified, then the effect is as if a value of 0 were specified.

Value <number>

bias @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val calcMode: SvgAttr[String]

This attribute specifies the interpolation mode for the animation.

This attribute specifies the interpolation mode for the animation. The default mode is linear, however if the attribute does not support linear interpolation (e.g. for strings), the calcMode attribute is ignored and discrete interpolation is used.

Value discrete | linear | paced | spline

calcMode @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val circle: SvgTag[SVGCircleElement]

The circle element is an SVG basic shape, used to create circles based on a center point and a radius.

The circle element is an SVG basic shape, used to create circles based on a center point and a radius.

- circle @ MDN - SVGCircleElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val clip: SvgAttr[String]

The clip attribute has the same parameter values as defined for the css clip property.

The clip attribute has the same parameter values as defined for the css clip property. Unitless values, which indicate current user coordinates, are permitted on the coordinate values on the <shape>. The value of auto defines a clipping path along the bounds of the viewport created by the given element. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css clip for further information.

Value auto | <shape> | inherit

clip @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val clipPathAttr: SvgAttr[String]

The clip-path attribute bind the element is applied to with a given <clipPath> element As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet

The clip-path attribute bind the element is applied to with a given <clipPath> element As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet

Value <FuncIRI> | none | inherit

clip-path @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val clipPathTag: SvgTag[SVGClipPathElement]

The clipping path restricts the region to which paint can be applied.

The clipping path restricts the region to which paint can be applied. Conceptually, any parts of the drawing that lie outside of the region bounded by the currently active clipping path are not drawn.

- clipPath @ MDN - SVGClipPathElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val clipPathUnits: SvgAttr[String]

The clipPathUnits attribute defines the coordinate system for the contents of the <clipPath> element.

The clipPathUnits attribute defines the coordinate system for the contents of the <clipPath> element. the clipPathUnits attribute is not specified, then the effect is as if a value of userSpaceOnUse were specified. Note that values defined as a percentage inside the content of the <clipPath> are not affected by this attribute. It means that even if you set the value of maskContentUnits to objectBoundingBox, percentage values will be calculated as if the value of the attribute were userSpaceOnUse.

Value userSpaceOnUse | objectBoundingBox

clipPathUnits @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val clipRule: SvgAttr[String]

The clip-rule attribute only applies to graphics elements that are contained within a <clipPath> element.

The clip-rule attribute only applies to graphics elements that are contained within a <clipPath> element. The clip-rule attribute basically works as the fill-rule attribute, except that it applies to <clipPath> definitions.

Value nonezero | evenodd | inherit

clip-rule @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val color: SvgAttr[String]

The color attribute is used to provide a potential indirect value (currentColor) for the fill, stroke, stop-color, flood-color and lighting-color attributes.

The color attribute is used to provide a potential indirect value (currentColor) for the fill, stroke, stop-color, flood-color and lighting-color attributes. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color for further information.

Value <color> | inherit

color @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val colorInterpolation: SvgAttr[String]

The color-interpolation attribute specifies the color space for gradient interpolations, color animations and alpha compositing.When a child element is blended into a background, the value of the color-interpolation attribute on the child determines the type of blending, not the value of the color-interpolation on the parent.

The color-interpolation attribute specifies the color space for gradient interpolations, color animations and alpha compositing.When a child element is blended into a background, the value of the color-interpolation attribute on the child determines the type of blending, not the value of the color-interpolation on the parent. For gradients which make use of the xlink:href attribute to reference another gradient, the gradient uses the color-interpolation attribute value from the gradient element which is directly referenced by the fill or stroke attribute. When animating colors, color interpolation is performed according to the value of the color-interpolation attribute on the element being animated. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color-interpolation for further information

Value auto | sRGB | linearRGB | inherit

color-interpolation @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala

The color-interpolation-filters attribute specifies the color space for imaging operations performed via filter effects.

The color-interpolation-filters attribute specifies the color space for imaging operations performed via filter effects. Note that color-interpolation-filters has a different initial value than color-interpolation. color-interpolation-filters has an initial value of linearRGB, whereas color-interpolation has an initial value of sRGB. Thus, in the default case, filter effects operations occur in the linearRGB color space, whereas all other color interpolations occur by default in the sRGB color space. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color-interpolation-filters for further information

Value auto | sRGB | linearRGB | inherit

color-interpolation-filters @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val colorProfileAttr: SvgAttr[String]

The color-profile attribute is used to define which color profile a raster image included through the <image> element should use.

The color-profile attribute is used to define which color profile a raster image included through the <image> element should use. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color-profile for further information.

Value auto | sRGB | <name> | <IRI> | inherit

color-profile @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val colorProfileTag: SvgTag[SVGElement]

The element allows describing the color profile used for the image.

The element allows describing the color profile used for the image.

color-profile @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val colorRendering: SvgAttr[String]

The color-rendering attribute provides a hint to the SVG user agent about how to optimize its color interpolation and compositing operations.

The color-rendering attribute provides a hint to the SVG user agent about how to optimize its color interpolation and compositing operations. color-rendering takes precedence over color-interpolation-filters. For example, assume color-rendering: optimizeSpeed and color-interpolation-filters: linearRGB. In this case, the SVG user agent should perform color operations in a way that optimizes performance, which might mean sacrificing the color interpolation precision as specified by color-interpolation-filters: linearRGB. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color-rendering for further information

Value auto | optimizeSpeed | optimizeQuality | inherit

color-rendering @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val contentScriptType: SvgAttr[String]

The contentScriptType attribute on the <svg> element specifies the default scripting language for the given document fragment.

The contentScriptType attribute on the <svg> element specifies the default scripting language for the given document fragment. This attribute sets the default scripting language used to process the value strings in event attributes. This language must be used for all instances of script that do not specify their own scripting language. The value content-type specifies a media type, per MIME Part Two: Media Types [RFC2046]. The default value is application/ecmascript

Value <content-type>

contentScriptType @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val contentStyleType: SvgAttr[String]

This attribute specifies the style sheet language for the given document fragment.

This attribute specifies the style sheet language for the given document fragment. The contentStyleType is specified on the <svg> element. By default, if it's not defined, the value is text/css

Value <content-type>

contentStyleType @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val cursor: SvgTag[SVGElement]

The cursor element can be used to define a platform-independent custom cursor.

The cursor element can be used to define a platform-independent custom cursor. A recommended approach for defining a platform-independent custom cursor is to create a PNG image and define a cursor element that references the PNG image and identifies the exact position within the image which is the pointer position (i.e., the hot spot).

cursor @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val cursorAttr: SvgAttr[String]

The cursor attribute specifies the mouse cursor displayed when the mouse pointer is over an element.This attribute behave exactly like the css cursor property except that if the browser suport the <cursor> element, it should allow to use it with the <funciri> notation.

The cursor attribute specifies the mouse cursor displayed when the mouse pointer is over an element.This attribute behave exactly like the css cursor property except that if the browser suport the <cursor> element, it should allow to use it with the <funciri> notation. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css cursor for further information.

Value auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize| text | wait | help | inherit

cursor @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val cx: SvgAttr[String]

For the <circle> and the <ellipse> element, this attribute define the x-axis coordinate of the center of the element.

For the <circle> and the <ellipse> element, this attribute define the x-axis coordinate of the center of the element. If the attribute is not specified, the effect is as if a value of "0" were specified.For the <radialGradient> element, this attribute define the x-axis coordinate of the largest (i.e., outermost) circle for the radial gradient. The gradient will be drawn such that the 100% gradient stop is mapped to the perimeter of this largest (i.e., outermost) circle. If the attribute is not specified, the effect is as if a value of 50% were specified

Value <coordinate>

cx @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val cy: SvgAttr[String]

For the <circle> and the <ellipse> element, this attribute define the y-axis coordinate of the center of the element.

For the <circle> and the <ellipse> element, this attribute define the y-axis coordinate of the center of the element. If the attribute is not specified, the effect is as if a value of "0" were specified.For the <radialGradient> element, this attribute define the x-axis coordinate of the largest (i.e., outermost) circle for the radial gradient. The gradient will be drawn such that the 100% gradient stop is mapped to the perimeter of this largest (i.e., outermost) circle. If the attribute is not specified, the effect is as if a value of 50% were specified

Value <coordinate>

cy @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val d: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val defs: SvgTag[SVGDefsElement]

SVG allows graphical objects to be defined for later reuse.

SVG allows graphical objects to be defined for later reuse. It is recommended that, wherever possible, referenced elements be defined inside of a defs element. Defining these elements inside of a defs element promotes understandability of the SVG content and thus promotes accessibility. Graphical elements defined in a defs will not be directly rendered. You can use a use element to render those elements wherever you want on the viewport.

- defs @ MDN - SVGDefsElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val desc: SvgTag[SVGDescElement]

Each container element or graphics element in an SVG drawing can supply a desc description string where the description is text-only.

Each container element or graphics element in an SVG drawing can supply a desc description string where the description is text-only. When the current SVG document fragment is rendered as SVG on visual media, desc elements are not rendered as part of the graphics. Alternate presentations are possible, both visual and aural, which display the desc element but do not display path elements or other graphics elements. The desc element generally improve accessibility of SVG documents

- desc @ MDN - SVGDescElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val diffuseConstant: SvgAttr[String]
lazy val direction: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val display: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val divisor: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val dur: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val dx: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val dy: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val edgeMode: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val elevation: SvgAttr[Double]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val ellipse: SvgTag[SVGEllipseElement]

The ellipse element is an SVG basic shape, used to create ellipses based on a center coordinate, and both their x and y radius.

The ellipse element is an SVG basic shape, used to create ellipses based on a center coordinate, and both their x and y radius.

Ellipses are unable to specify the exact orientation of the ellipse (if, for example, you wanted to draw an ellipse titled at a 45 degree angle), but can be rotated by using the transform attribute.

- ellipse @ MDN - SVGEllipseElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val end: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val feBlend: SvgTag[SVGFEBlendElement]

The feBlend filter composes two objects together ruled by a certain blending mode.

The feBlend filter composes two objects together ruled by a certain blending mode. This is similar to what is known from image editing software when blending two layers. The mode is defined by the mode attribute.

- feBlend @ MDN - SVGFEBlendElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feColorMatrix: SvgTag[SVGFEColorMatrixElement]

This filter changes colors based on a transformation matrix.

This filter changes colors based on a transformation matrix. Every pixel's color value (represented by an [R,G,B,A] vector) is matrix multiplied to create a new color.

- feColorMatrix @ MDN - SVGFEColorMatrixElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feComponentTransfer: SvgTag[SVGComponentTransferFunctionElement]

The color of each pixel is modified by changing each channel (R, G, B, and A) to the result of what the children feFuncR, feFuncB, feFuncG, and feFuncA return.

The color of each pixel is modified by changing each channel (R, G, B, and A) to the result of what the children feFuncR, feFuncB, feFuncG, and feFuncA return.

- feComponentTransfer @ MDN - SVGComponentTransferFunctionElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feComposite: SvgTag[SVGFECompositeElement]

This filter primitive performs the combination of two input images pixel-wise in image space using one of the Porter-Duff compositing operations: over, in, atop, out, xor.

This filter primitive performs the combination of two input images pixel-wise in image space using one of the Porter-Duff compositing operations: over, in, atop, out, xor. Additionally, a component-wise arithmetic operation (with the result clamped between [0..1]) can be applied.

- feComposite @ MDN - SVGFECompositeElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feConvolveMatrix: SvgTag[SVGFEConvolveMatrixElement]

the feConvolveMatrix element applies a matrix convolution filter effect.

the feConvolveMatrix element applies a matrix convolution filter effect. A convolution combines pixels in the input image with neighboring pixels to produce a resulting image. A wide variety of imaging operations can be achieved through convolutions, including blurring, edge detection, sharpening, embossing and beveling.

- feConvolveMatrix @ MDN - SVGFEConvolveMatrixElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feDiffuseLighting: SvgTag[SVGFEDiffuseLightingElement]

This filter primitive lights an image using the alpha channel as a bump map.

This filter primitive lights an image using the alpha channel as a bump map. The resulting image, which is an RGBA opaque image, depends on the light color, light position and surface geometry of the input bump map.

- feDiffuseLighting @ MDN - SVGFEDiffuseLightingElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feDisplacementMap: SvgTag[SVGFEDisplacementMapElement]

This filter primitive uses the pixels values from the image from in2 to spatially displace the image from in.

This filter primitive uses the pixels values from the image from in2 to spatially displace the image from in.

- feDisplacementMap @ MDN - SVGFEDisplacementMapElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feDistantLighting: SvgTag[SVGFEDistantLightElement]

This filter primitive define a distant light source that can be used within a lighting filter primitive: feDiffuseLighting or feSpecularLighting.

This filter primitive define a distant light source that can be used within a lighting filter primitive: feDiffuseLighting or feSpecularLighting.

- feDistantLighting @ MDN - SVGFEDistantLightElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feFlood: SvgTag[SVGFEFloodElement]

The filter fills the filter subregion with the color and opacity defined by flood-color and flood-opacity.

The filter fills the filter subregion with the color and opacity defined by flood-color and flood-opacity.

- feFlood @ MDN - SVGFEFloodElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feFuncA: SvgTag[SVGFEFuncAElement]

This filter primitive defines the transfer function for the alpha component of the input graphic of its parent feComponentTransfer element.

This filter primitive defines the transfer function for the alpha component of the input graphic of its parent feComponentTransfer element.

- feFuncA @ MDN - SVGFEFuncAElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feFuncB: SvgTag[SVGFEFuncBElement]

This filter primitive defines the transfer function for the blue component of the input graphic of its parent feComponentTransfer element.

This filter primitive defines the transfer function for the blue component of the input graphic of its parent feComponentTransfer element.

- feFuncB @ MDN - SVGFEFuncBElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feFuncG: SvgTag[SVGFEFuncGElement]

This filter primitive defines the transfer function for the green component of the input graphic of its parent feComponentTransfer element.

This filter primitive defines the transfer function for the green component of the input graphic of its parent feComponentTransfer element.

- feFuncG @ MDN - SVGFEFuncGElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feFuncR: SvgTag[SVGFEFuncRElement]

This filter primitive defines the transfer function for the red component of the input graphic of its parent feComponentTransfer element.

This filter primitive defines the transfer function for the red component of the input graphic of its parent feComponentTransfer element.

- feFuncR @ MDN - SVGFEFuncRElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feGaussianBlur: SvgTag[SVGFEGaussianBlurElement]

The filter blurs the input image by the amount specified in stdDeviation, which defines the bell-curve.

The filter blurs the input image by the amount specified in stdDeviation, which defines the bell-curve.

- feGaussianBlur @ MDN - SVGFEGaussianBlurElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feImage: SvgTag[SVGFEImageElement]

The feImage filter fetches image data from an external source and provides the pixel data as output (meaning, if the external source is an SVG image, it is rasterize).

The feImage filter fetches image data from an external source and provides the pixel data as output (meaning, if the external source is an SVG image, it is rasterize).

- feImage @ MDN - SVGFEImageElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feMerge: SvgTag[SVGFEMergeElement]

The feMerge filter allows filter effects to be applied concurrently instead of sequentially.

The feMerge filter allows filter effects to be applied concurrently instead of sequentially. This is achieved by other filters storing their output via the result attribute and then accessing it in a feMergeNode child.

- feMerge @ MDN - SVGFEMergeElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feMergeNode: SvgTag[SVGFEMergeNodeElement]

The feMergeNode takes the result of another filter to be processed by its parent feMerge.

The feMergeNode takes the result of another filter to be processed by its parent feMerge.

- feMergeNode @ MDN - SVGFEMergeNodeElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feMorphology: SvgTag[SVGFEMorphologyElement]

This filter is used to erode or dilate the input image.

This filter is used to erode or dilate the input image. It's usefulness lies especially in fattening or thinning effects.

- feMorphology @ MDN - SVGFEMorphologyElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feOffset: SvgTag[SVGFEOffsetElement]

The input image as a whole is offset by the values specified in the dx and dy attributes.

The input image as a whole is offset by the values specified in the dx and dy attributes. It's used in creating drop-shadows.

- feOffset @ MDN - SVGFEOffsetElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feSpecularLighting: SvgTag[SVGFESpecularLightingElement]

This filter primitive lights a source graphic using the alpha channel as a bump map.

This filter primitive lights a source graphic using the alpha channel as a bump map. The resulting image is an RGBA image based on the light color. The lighting calculation follows the standard specular component of the Phong lighting model. The resulting image depends on the light color, light position and surface geometry of the input bump map. The result of the lighting calculation is added. The filter primitive assumes that the viewer is at infinity in the z direction.

- feSpecularLighting @ MDN - SVGFESpecularLightingElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feSpotlight: SvgTag[SVGFESpotLightElement]
lazy val feTile: SvgTag[SVGFETileElement]

An input image is tiled and the result used to fill a target.

An input image is tiled and the result used to fill a target. The effect is similar to the one of a pattern.

- feTile @ MDN - SVGFETileElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val feTurbulence: SvgTag[SVGFETurbulenceElement]

This filter primitive creates an image using the Perlin turbulence function.

This filter primitive creates an image using the Perlin turbulence function. It allows the synthesis of artificial textures like clouds or marble.

- feTurbulence @ MDN - SVGFETurbulenceElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val fill: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val fillOpacity: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val fillRule: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val filter: SvgTag[SVGFilterElement]

The filter element serves as container for atomic filter operations.

The filter element serves as container for atomic filter operations. It is never rendered directly. A filter is referenced by using the filter attribute on the target SVG element.

- filter @ MDN - SVGFilterElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val filterAttr: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val filterRes: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val filterUnits: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val floodColor: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val floodOpacity: SvgAttr[String]
lazy val font: SvgTag[SVGElement]

The font element defines a font to be used for text layout.

The font element defines a font to be used for text layout.

font @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val fontFace: SvgTag[SVGElement]

The font-face element corresponds to the CSS @font-face declaration.

The font-face element corresponds to the CSS @font-face declaration. It defines a font's outer properties.

font-face @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val fontFaceFormat: SvgTag[SVGElement]

The font-face-format element describes the type of font referenced by its parent font-face-uri.

The font-face-format element describes the type of font referenced by its parent font-face-uri.

font-face-format @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val fontFaceName: SvgTag[SVGElement]

The font-face-name element points to a locally installed copy of this font, identified by its name.

The font-face-name element points to a locally installed copy of this font, identified by its name.

font-face-name @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val fontFaceSrc: SvgTag[SVGElement]

The font-face-src element corresponds to the src property in CSS @font-face descriptions.

The font-face-src element corresponds to the src property in CSS @font-face descriptions. It serves as container for font-face-name, pointing to locally installed copies of this font, and font-face-uri, utilizing remotely defined fonts.

font-face-src @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val fontFaceUri: SvgTag[SVGElement]

The font-face-uri element points to a remote definition of the current font.

The font-face-uri element points to a remote definition of the current font.

font-face-uri @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val fontFamily: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val fontSize: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val fontSizeAdjust: SvgAttr[String]
lazy val fontStretch: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val fontVariant: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val fontWeight: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val foreignObject: SvgTag[SVGElement]

The foreignObject element allows for inclusion of a foreign XML namespace which has its graphical content drawn by a different user agent.

The foreignObject element allows for inclusion of a foreign XML namespace which has its graphical content drawn by a different user agent. The included foreign graphical content is subject to SVG transformations and compositing.

foreignObject @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val from: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val g: SvgTag[SVGGElement]

The g element is a container used to group objects.

The g element is a container used to group objects. Transformations applied to the g element are performed on all of its child elements. Attributes applied are inherited by child elements. In addition, it can be used to define complex objects that can later be referenced with the use element.

- g @ MDN - SVGGElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val glyph: SvgTag[SVGElement]

A glyph defines a single glyph in an SVG font.

A glyph defines a single glyph in an SVG font.

glyph @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val glyphRef: SvgTag[SVGElement]

The glyphRef element provides a single possible glyph to the referencing altGlyph substitution.

The glyphRef element provides a single possible glyph to the referencing altGlyph substitution.

glyphRef @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val gradientUnits: SvgAttr[String]
lazy val height: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val hkern: SvgTag[SVGElement]

The horizontal distance between two glyphs can be fine-tweaked with an hkern Element.

The horizontal distance between two glyphs can be fine-tweaked with an hkern Element. This process is known as Kerning.

hkern @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val href: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val idAttr: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val image: SvgTag[SVGImageElement]

The SVG Image Element (image) allows a raster image into be included in an SVG document.

The SVG Image Element (image) allows a raster image into be included in an SVG document.

- image @ MDN - SVGImageElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val imageRendering: SvgAttr[String]
lazy val in: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val in2: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val k1: SvgAttr[Double]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val k2: SvgAttr[Double]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val k3: SvgAttr[Double]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val k4: SvgAttr[Double]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val kernelMatrix: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val kerning: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val keySplines: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val keyTimes: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val letterSpacing: SvgAttr[String]
lazy val lightingColor: SvgAttr[String]
lazy val line: SvgTag[SVGLineElement]

The line element is an SVG basic shape, used to create a line connecting two points.

The line element is an SVG basic shape, used to create a line connecting two points.

- line @ MDN - SVGLineElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val linearGradient: SvgTag[SVGLinearGradientElement]

linearGradient lets authors define linear gradients to fill or stroke graphical elements.

linearGradient lets authors define linear gradients to fill or stroke graphical elements.

- linearGradient @ MDN - SVGLinearGradientElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val local: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val marker: SvgTag[SVGMarkerElement]

The marker element defines the graphics that is to be used for drawing arrowheads or polymarkers on a given path, line, polyline or polygon element.

The marker element defines the graphics that is to be used for drawing arrowheads or polymarkers on a given path, line, polyline or polygon element.

- marker @ MDN - SVGMarkerElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val markerEnd: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val markerHeight: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val markerMid: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val markerStart: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val markerUnits: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val markerWidth: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val mask: SvgTag[SVGMaskElement]

In SVG, you can specify that any other graphics object or g element can be used as an alpha mask for compositing the current object into the background.

In SVG, you can specify that any other graphics object or g element can be used as an alpha mask for compositing the current object into the background. A mask is defined with the mask element. A mask is used/referenced using the mask property.

- mask @ MDN - SVGMaskElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val maskAttr: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val maskUnits: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val maxAttr: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val metadata: SvgTag[SVGMetadataElement]

Metadata is structured data about data.

Metadata is structured data about data. Metadata which is included with SVG content should be specified within metadata elements. The contents of the metadata should be elements from other XML namespaces such as RDF, FOAF, etc.

- metadata @ MDN - SVGMetadataElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val minAttr: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val missingGlyph: SvgTag[SVGElement]

The missing-glyph's content is rendered, if for a given character the font doesn't define an appropriate glyph.

The missing-glyph's content is rendered, if for a given character the font doesn't define an appropriate glyph.

missing-glyph @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val mode: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val mpath: SvgTag[SVGElement]

the mpath sub-element for the animateMotion element provides the ability to reference an external path element as the definition of a motion path.

the mpath sub-element for the animateMotion element provides the ability to reference an external path element as the definition of a motion path.

mpath @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val numOctaves: SvgAttr[Int]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val offsetAttr: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val opacity: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val operator: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val order: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val orient: SvgAttr[String]

This attribute defines the orientation of the marker relative to the shape it is attached to.

This attribute defines the orientation of the marker relative to the shape it is attached to.

Value type: auto|auto-start-reverse|<angle> ; Default value: 0; Animatable: yes

orient @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val overflow: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val paintOrder: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val path: SvgTag[SVGPathElement]

The path element is the generic element to define a shape.

The path element is the generic element to define a shape. All the basic shapes can be created with a path element.

- path @ MDN - SVGPathElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val pathLength: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val pattern: SvgTag[SVGPatternElement]

A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted.

A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted. Patterns are defined using the pattern element and then referenced by properties fill and stroke on a given graphics element to indicate that the given element shall be filled or stroked with the referenced pattern.

- pattern @ MDN - SVGPatternElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val patternUnits: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val pointerEvents: SvgAttr[String]
lazy val points: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val pointsAtX: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val pointsAtY: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val pointsAtZ: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val polygon: SvgTag[SVGPolygonElement]

The polygon element defines a closed shape consisting of a set of connected straight line segments.

The polygon element defines a closed shape consisting of a set of connected straight line segments.

- polygon @ MDN - SVGPolygonElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val polyline: SvgTag[SVGPolylineElement]

The polyline element is an SVG basic shape, used to create a series of straight lines connecting several points.

The polyline element is an SVG basic shape, used to create a series of straight lines connecting several points. Typically a polyline is used to create open shapes

- polyline @ MDN - SVGPolylineElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val preserveAlpha: SvgAttr[String]
lazy val primitiveUnits: SvgAttr[String]
lazy val r: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val radialGradient: SvgTag[SVGRadialGradientElement]

radialGradient lets authors define radial gradients to fill or stroke graphical elements.

radialGradient lets authors define radial gradients to fill or stroke graphical elements.

- radialGradient @ MDN - SVGRadialGradientElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val radius: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val rect: SvgTag[SVGRectElement]

The rect element is an SVG basic shape, used to create rectangles based on the position of a corner and their width and height.

The rect element is an SVG basic shape, used to create rectangles based on the position of a corner and their width and height. It may also be used to create rectangles with rounded corners.

- rect @ MDN - SVGRectElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val refX: SvgAttr[String]

The refX attribute is used alongside the refY attribute to provide coordinates for the location on the marker where it will be joined to its markable element.

The refX attribute is used alongside the refY attribute to provide coordinates for the location on the marker where it will be joined to its markable element. Coordinates are relative to the marker's coordinate system (after application of the ‘viewBox’ and ‘preserveAspectRatio’ attributes), and not the markable element it is placed on.

refX @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val refY: SvgAttr[String]

The refY attribute is used alongside the refY attribute to provide coordinates for the location on the marker where it will be joined to its markable element.

The refY attribute is used alongside the refY attribute to provide coordinates for the location on the marker where it will be joined to its markable element. Coordinates are relative to the marker's coordinate system (after application of the ‘viewBox’ and ‘preserveAspectRatio’ attributes), and not the markable element it is placed on.

refY @ MDN

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val repeatCount: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val repeatDur: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val restart: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val resultAttr: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val rx: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val ry: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val scale: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val seed: SvgAttr[Double]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val set: SvgTag[SVGElement]

The set element provides a simple means of just setting the value of an attribute for a specified duration.

The set element provides a simple means of just setting the value of an attribute for a specified duration. It supports all attribute types, including those that cannot reasonably be interpolated, such as string and boolean values. The set element is non-additive. The additive and accumulate attributes are not allowed, and will be ignored if specified.

set @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val shapeRendering: SvgAttr[String]
lazy val spreadMethod: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val stdDeviation: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val stitchTiles: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val stop: SvgTag[SVGStopElement]

The ramp of colors to use on a gradient is defined by the stop elements that are child elements to either the lineargradient element or the radialGradient element.

The ramp of colors to use on a gradient is defined by the stop elements that are child elements to either the lineargradient element or the radialGradient element.

- stop @ MDN - SVGStopElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val stopColor: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val stopOpacity: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val stroke: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val strokeDashArray: SvgAttr[String]
lazy val strokeLineCap: SvgAttr[String]
lazy val strokeLineJoin: SvgAttr[String]
lazy val strokeOpacity: SvgAttr[String]
lazy val strokeWidth: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val style: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val surfaceScale: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val svg: SvgTag[SVGSVGElement]

When it is not the root element, the svg element can be used to nest a standalone SVG fragment inside the current document (which can be an HTML document).

When it is not the root element, the svg element can be used to nest a standalone SVG fragment inside the current document (which can be an HTML document). This standalone fragment has its own viewPort and its own coordinate system.

- svg @ MDN - SVGSVGElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val switch: SvgTag[SVGSwitchElement]

The switch element evaluates the requiredFeatures, requiredExtensions and systemLanguage attributes on its direct child elements in order, and then processes and renders the first child for which these attributes evaluate to true.

The switch element evaluates the requiredFeatures, requiredExtensions and systemLanguage attributes on its direct child elements in order, and then processes and renders the first child for which these attributes evaluate to true. All others will be bypassed and therefore not rendered. If the child element is a container element such as a g, then the entire subtree is either processed/rendered or bypassed/not rendered.

- switch @ MDN - SVGSwitchElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val symbol: SvgTag[SVGSymbolElement]

The symbol element is used to define graphical template objects which can be instantiated by a use element.

The symbol element is used to define graphical template objects which can be instantiated by a use element. The use of symbol elements for graphics that are used multiple times in the same document adds structure and semantics. Documents that are rich in structure may be rendered graphically, as speech, or as braille, and thus promote accessibility. note that a symbol element itself is not rendered. Only instances of a symbol element (i.e., a reference to a symbol by a use element) are rendered.

- symbol @ MDN - SVGSymbolElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val tabIndex: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val target: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val targetX: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val targetY: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val text: SvgTag[SVGTextElement]

The text element defines a graphics element consisting of text.

The text element defines a graphics element consisting of text. Note that it is possible to apply a gradient, pattern, clipping path, mask or filter to text.

- text @ MDN - SVGTextElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val textAnchor: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val textDecoration: SvgAttr[String]
lazy val textPath: SvgTag[SVGTextPathElement]

In addition to text drawn in a straight line, SVG also includes the ability to place text along the shape of a path element.

In addition to text drawn in a straight line, SVG also includes the ability to place text along the shape of a path element. To specify that a block of text is to be rendered along the shape of a path, include the given text within a textPath element which includes an xlink:href attribute with a reference to a path element.

- textPath @ MDN - SVGTextPathElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val textRendering: SvgAttr[String]
lazy val titleTag: SvgTag[SVGTextPathElement]

Each container element or graphics element in an SVG drawing can supply a title description string where the description is text-only.

Each container element or graphics element in an SVG drawing can supply a title description string where the description is text-only. When the current SVG document fragment is rendered as SVG on visual media, title elements are not rendered as part of the graphics. Alternate presentations are possible, both visual and aural, which display the title element but do not display path elements or other graphics elements. The title element generally improve accessibility of SVG documents.

- title @ MDN - SVGTextPathElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val to: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val tpe: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val transform: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val tref: SvgTag[SVGElement]

The textual content for a text can be either character data directly embedded within the text element or the character data content of a referenced element, where the referencing is specified with a tref element.

The textual content for a text can be either character data directly embedded within the text element or the character data content of a referenced element, where the referencing is specified with a tref element.

tref @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val tspan: SvgTag[SVGTSpanElement]

Within a text element, text and font properties and the current text position can be adjusted with absolute or relative coordinate values by including a tspan element.

Within a text element, text and font properties and the current text position can be adjusted with absolute or relative coordinate values by including a tspan element.

- tspan @ MDN - SVGTSpanElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val typ: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val use: SvgTag[SVGUseElement]

The use element takes nodes from within the SVG document, and duplicates them somewhere else.

The use element takes nodes from within the SVG document, and duplicates them somewhere else. The effect is the same as if the nodes were deeply cloned into a non-exposed DOM, and then pasted where the use element is, much like anonymous content and XBL. Since the cloned nodes are not exposed, care must be taken when using CSS to style a use element and its hidden descendants. CSS attributes are not guaranteed to be inherited by the hidden, cloned DOM unless you explicitly request it using CSS inheritance.

- use @ MDN - SVGUseElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val values: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val view: SvgTag[SVGViewElement]

A view is a defined way to view the image, like a zoom level or a detail view.

A view is a defined way to view the image, like a zoom level or a detail view.

- view @ MDN - SVGViewElement @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val viewBox: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val visibility: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val vkern: SvgTag[SVGElement]

The vertical distance between two glyphs in top-to-bottom fonts can be fine-tweaked with an vkern Element.

The vertical distance between two glyphs in top-to-bottom fonts can be fine-tweaked with an vkern Element. This process is known as Kerning.

vkern @ MDN

Attributes

Inherited from:
SvgTags
Source
SvgTags.scala
lazy val width: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val wordSpacing: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val writingMode: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val x: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val x1: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val x2: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val xlinkHref: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val xlinkRole: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val xlinkTitle: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val xmlSpace: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val xmlns: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val y: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val y1: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val y2: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala
lazy val z: SvgAttr[String]

Attributes

Inherited from:
SvgAttrs
Source
SvgAttrs.scala