trait SvgAttrs extends AnyRef
- Alphabetic
- By Inheritance
- SvgAttrs
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def accentHeight: Attr[Any]
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>
- final def accumulate: Attr[Any]
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
- final def additive: Attr[Any]
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
- final def alignmentBaseline: Attr[Any]
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def ascent: Attr[Any]
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>
- final def attributeName: Attr[Any]
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>
- final def attributeType: Attr[Any]
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
- final def azimuth: Attr[Any]
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>
- final def baseFrequency: Attr[Any]
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>
- final def baselineShift: Attr[Any]
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
- final def begin: Attr[Any]
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>
- final def bias: Attr[Any]
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>
- final def calcMode: Attr[Any]
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
- final def class: Attr[Any]
Assigns a class name or set of class names to an element.
Assigns a class name or set of class names to an element. You may assign the same class name or names to any number of elements. If you specify multiple class names, they must be separated by whitespace characters. The class name of an element has two key roles: -As a style sheet selector, for use when an author wants to assign style information to a set of elements. -For general usage by the browser. The class can be used to style SVG content using CSS.
Value <list-of-class-names>
- final def clip: Attr[Any]
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
- final def clipPath: Attr[Any]
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
- final def clipPathUnits: Attr[Any]
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
- final def clipRule: Attr[Any]
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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def color: Attr[Any]
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
- final def colorInterpolation: Attr[Any]
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
- final def colorInterpolationFilters: Attr[Any]
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
- final def colorProfileAttr: Attr[Any]
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
- final def colorRendering: Attr[Any]
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
- final def contentScriptType: Attr[Any]
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>
- final def contentStyleType: Attr[Any]
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>
- final def cursor: Attr[Any]
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
- final def cx: Attr[Any]
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>
- final def cy: Attr[Any]
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>
- final def d: Attr[Any]
- final def diffuseConstant: Attr[Any]
- final def direction: Attr[Any]
- final def display: Attr[Any]
- final def divisor: Attr[Any]
- final def dominantBaseline: Attr[Any]
- final def dur: Attr[Any]
- final def dx: Attr[Any]
- final def dy: Attr[Any]
- final def edgeMode: Attr[Any]
- final def elevation: Attr[Any]
- final def end: Attr[Any]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def externalResourcesRequired: Attr[Any]
- final def fill: Attr[Any]
- final def fillOpacity: Attr[Any]
- final def fillRule: Attr[Any]
- final def filter: Attr[Any]
- final def filterRes: Attr[Any]
- final def filterUnits: Attr[Any]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def floodColor: Attr[Any]
- final def floodOpacity: Attr[Any]
- final def focusable: Attr[Any]
- final def fontFamily: Attr[Any]
- final def fontSize: Attr[Any]
- final def fontSizeAdjust: Attr[Any]
- final def fontStretch: Attr[Any]
- final def fontVariant: Attr[Any]
- final def fontWeight: Attr[Any]
- final def from: Attr[Any]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def gradientTransform: Attr[Any]
- final def gradientUnits: Attr[Any]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def height: Attr[Any]
- final def id: Attr[Any]
- final def imageRendering: Attr[Any]
- final def in: Attr[Any]
- final def in2: Attr[Any]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def k1: Attr[Any]
- final def k2: Attr[Any]
- final def k3: Attr[Any]
- final def k4: Attr[Any]
- final def kernelMatrix: Attr[Any]
- final def kernelUnitLength: Attr[Any]
- final def kerning: Attr[Any]
- final val key: Key.type
React key
- final def keySplines: Attr[Any]
- final def keyTimes: Attr[Any]
- final def letterSpacing: Attr[Any]
- final def lightingColor: Attr[Any]
- final def limitingConeAngle: Attr[Any]
- final def local: Attr[Any]
- final def markerEnd: Attr[Any]
- final def markerHeight: Attr[Any]
- final def markerMid: Attr[Any]
- final def markerStart: Attr[Any]
- final def markerUnits: Attr[Any]
- final def markerWidth: Attr[Any]
- final def mask: Attr[Any]
- final def maskContentUnits: Attr[Any]
- final def maskUnits: Attr[Any]
- final def max: Attr[Any]
- final def min: Attr[Any]
- final def mode: Attr[Any]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def numOctaves: Attr[Any]
- final def offset: Attr[Any]
- final def opacity: Attr[Any]
- final def operator: Attr[Any]
- final def order: Attr[Any]
- final def orient: Attr[Any]
- final def overflow: Attr[Any]
- final def paintOrder: Attr[Any]
- final def pathAttr: Attr[Any]
- final def pathLength: Attr[Any]
- final def patternContentUnits: Attr[Any]
- final def patternTransform: Attr[Any]
- final def patternUnits: Attr[Any]
- final def pointerEvents: Attr[Any]
- final def points: Attr[Any]
- final def pointsAtX: Attr[Any]
- final def pointsAtY: Attr[Any]
- final def pointsAtZ: Attr[Any]
- final def preserveAlpha: Attr[Any]
- final def preserveAspectRatio: Attr[Any]
- final def primitiveUnits: Attr[Any]
- final def r: Attr[Any]
- final def radius: Attr[Any]
- final def refX: Attr[Any]
- final def refY: Attr[Any]
- final def repeatCount: Attr[Any]
- final def repeatDur: Attr[Any]
- final def requiredFeatures: Attr[Any]
- final def restart: Attr[Any]
- final def result: Attr[Any]
- final def rx: Attr[Any]
- final def ry: Attr[Any]
- final def scale: Attr[Any]
- final def seed: Attr[Any]
- final def shapeRendering: Attr[Any]
- final def specularConstant: Attr[Any]
- final def specularExponent: Attr[Any]
- final def spreadMethod: Attr[Any]
- final def stdDeviation: Attr[Any]
- final def stitchTiles: Attr[Any]
- final def stopColor: Attr[Any]
- final def stopOpacity: Attr[Any]
- final def stroke: Attr[Any]
- final def strokeDasharray: Attr[Any]
- final def strokeDashoffset: Attr[Any]
- final def strokeLinecap: Attr[Any]
- final def strokeLinejoin: Attr[Any]
- final def strokeMiterlimit: Attr[Any]
- final def strokeOpacity: Attr[Any]
- final def strokeWidth: Attr[Any]
- final def style: Attr[Any]
- final def surfaceScale: Attr[Any]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def targetX: Attr[Any]
- final def targetY: Attr[Any]
- final def textAnchor: Attr[Any]
- final def textDecoration: Attr[Any]
- final def textRendering: Attr[Any]
- final def to: Attr[Any]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def transform: Attr[Any]
- final def type: Attr[Any]
- final def untypedRef: UntypedRef
Don't bother with
:=
on this; call.apply
instead. - final def values: Attr[Any]
- final def viewBox: Attr[Any]
- final def visibility: Attr[Any]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def width: Attr[Any]
- final def wordSpacing: Attr[Any]
- final def writingMode: Attr[Any]
- final def x: Attr[Any]
- final def x1: Attr[Any]
- final def x2: Attr[Any]
- final def xChannelSelector: Attr[Any]
- final def xlinkActuate: Attr[Any]
- final def xlinkArcrole: Attr[Any]
- final def xlinkHref: Attr[Any]
- final def xlinkRole: Attr[Any]
- final def xlinkShow: Attr[Any]
- final def xlinkTitle: Attr[Any]
- final def xlinkType: Attr[Any]
- final def xmlBase: Attr[Any]
- final def xmlLang: Attr[Any]
- final def xmlSpace: Attr[Any]
- final def xmlns: Attr[Any]
- final def y: Attr[Any]
- final def y1: Attr[Any]
- final def y2: Attr[Any]
- final def yChannelSelector: Attr[Any]
- final def z: Attr[Any]