All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dispalt.vdom.SvgAttrs.scala Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2016 Dan Di Spaltro
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.dispalt.vdom

import com.dispalt.vdom.Scalatags._

object SvgAttrs extends SvgAttrs

trait SvgAttrs {

  /**
    * 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 	
    *
    * MDN
    */
  final lazy val accentHeight = "accent-height".attr

  /**
    * 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
    *
    * MDN
    */
  final lazy val accumulate = "accumulate".attr

  /**
    * 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
    *
    * MDN
    */
  final lazy val additive = "additive".attr

  /**
    * 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
    *
    * MDN
    */
  final lazy val alignmentBaseline = "alignment-baseline".attr

  /**
    * 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 	
    *
    * MDN
    */
  final lazy val ascent = "ascent".attr

  /**
    * This attribute indicates the name of the attribute in the parent element
    * that is going to be changed during an animation.
    *
    * Value 	
    *
    * MDN
    */
  final lazy val attributeName = "attributeName".attr

  /**
    * This attribute specifies the namespace in which the target attribute
    * and its associated values are defined.
    *
    * Value 	CSS | XML | auto
    *
    * MDN
    */
  final lazy val attributeType = "attributeType".attr

  /**
    * 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 	
    *
    * MDN
    */
  final lazy val azimuth = "azimuth".attr

  /**
    * The baseFrequency attribute represent The base frequencies parameter
    * for the noise function of the  primitive. If two 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 	
    *
    * MDN
    */
  final lazy val baseFrequency = "baseFrequency".attr

  /**
    * 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 |  |  | inherit
    *
    * MDN
    */
  final lazy val baselineShift = "baseline-shift".attr

  /**
    * 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:
    * , , , , ,
    *  or the keyword indefinite.
    *
    * Value 	
    *
    * MDN
    */
  final lazy val begin = "begin".attr

  /**
    * The bias attribute shifts the range of the filter. After applying the kernelMatrix
    * of the  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 	
    *
    * MDN
    */
  final lazy val bias = "bias".attr

  /**
    * 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
    *
    * MDN
    */
  final lazy val calcMode = "calcMode".attr

  /**
    * 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 	
    *
    * MDN
    */
  final lazy val `class` = "class".attr

  /**
    * 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 . 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 |  | inherit
    *
    * MDN
    */
  final lazy val clip = "clip".attr

  /**
    * The clip-path attribute bind the element is applied to with a given  element
    * As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet
    *
    * Value 	 | none | inherit
    *
    * MDN
    */
  final lazy val clipPath = "clip-path".attr

  /**
    * The clipPathUnits attribute defines the coordinate system for the contents
    * of the  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 
    * 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
    *
    * MDN
    */
  final lazy val clipPathUnits = "clipPathUnits".attr

  /**
    * The clip-rule attribute only applies to graphics elements that are contained within a
    *  element. The clip-rule attribute basically works as the fill-rule attribute,
    * except that it applies to  definitions.
    *
    * Value 	nonezero | evenodd | inherit
    *
    * MDN
    */
  final lazy val clipRule = "clip-rule".attr

  /**
    * 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 	 | inherit
    *
    * MDN
    */
  final lazy val color = "color".attr

  /**
    * 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
    *
    * MDN
    */
  final lazy val colorInterpolation = "color-interpolation".attr

  /**
    * 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
    *
    * MDN
    */
  final lazy val colorInterpolationFilters = "color-interpolation-filters".attr

  /**
    * The color-profile attribute is used to define which color profile a raster image
    * included through the  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 |  |  | inherit
    *
    * MDN
    */
  final lazy val colorProfile = "color-profile".attr

  /**
    * 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
    *
    * MDN
    */
  final lazy val colorRendering = "color-rendering".attr

  /**
    * The contentScriptType attribute on the  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 	
    *
    * MDN
    */
  final lazy val contentScriptType = "contentScriptType".attr

  /**
    * This attribute specifies the style sheet language for the given document fragment.
    * The contentStyleType is specified on the  element. By default, if it's not defined,
    * the value is text/css
    *
    * Value 	
    *
    * MDN
    */
  final lazy val contentStyleType = "contentStyleType".attr

  /**
    * 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  element, it should allow to use it with the
    *  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
    *
    * MDN
    */
  final lazy val cursor = "cursor".attr

  /**
    * For the  and the  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  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 	
    *
    * MDN
    */
  final lazy val cx = "cx".attr

  /**
    * For the  and the  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  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 	
    *
    * MDN
    */
  final lazy val cy = "cy".attr

  /**
    *
    *
    * MDN
    */
  final lazy val d = "d".attr

  /**
    *
    *
    * MDN
    */
  final lazy val diffuseConstant = "diffuseConstant".attr

  /**
    *
    *
    * MDN
    */
  final lazy val direction = "direction".attr

  /**
    *
    *
    * MDN
    */
  final lazy val display = "display".attr

  /**
    *
    *
    * MDN
    */
  final lazy val divisor = "divisor".attr

  /**
    *
    *
    * MDN
    */
  final lazy val dominantBaseline = "dominant-baseline".attr

  /**
    *
    *
    * MDN
    */
  final lazy val dur = "dur".attr

  /**
    *
    *
    * MDN
    */
  final lazy val dx = "dx".attr

  /**
    *
    *
    * MDN
    */
  final lazy val dy = "dy".attr

  /**
    *
    *
    * MDN
    */
  final lazy val edgeMode = "edgeMode".attr

  /**
    *
    *
    * MDN
    */
  final lazy val elevation = "elevation".attr

  /**
    *
    *
    * MDN
    */
  final lazy val end = "end".attr

  /**
    *
    *
    * MDN
    */
  final lazy val externalResourcesRequired = "externalResourcesRequired".attr

  /**
    *
    *
    * MDN
    */
  final lazy val fill = "fill".attr

  /**
    *
    *
    * MDN
    */
  final lazy val fillOpacity = "fillOpacity".attr

  /**
    *
    *
    * MDN
    */
  final lazy val fillRule = "fill-rule".attr

  /**
    *
    *
    * MDN
    */
  final lazy val filter = "filter".attr

  /**
    *
    *
    * MDN
    */
  final lazy val filterRes = "filterRes".attr

  /**
    *
    *
    * MDN
    */
  final lazy val filterUnits = "filterUnits".attr

  /**
    *
    *
    * MDN
    */
  final lazy val floodColor = "flood-color".attr

  /**
    *
    *
    * MDN
    */
  final lazy val floodOpacity = "flood-opacity".attr

  /**
    *
    *
    * MDN
    */
  final lazy val fontFamily = "fontFamily".attr

  /**
    *
    *
    * MDN
    */
  final lazy val fontSize = "fontSize".attr

  /**
    *
    *
    * MDN
    */
  final lazy val fontSizeAdjust = "font-size-adjust".attr

  /**
    *
    *
    * MDN
    */
  final lazy val fontStretch = "font-stretch".attr

  /**
    *
    *
    * MDN
    */
  final lazy val fontVariant = "font-variant".attr

  /**
    *
    *
    * MDN
    */
  final lazy val fontWeight = "font-weight".attr

  /**
    *
    *
    * MDN
    */
  final lazy val from = "from".attr

  /**
    *
    *
    * MDN
    */
  final lazy val gradientTransform = "gradientTransform".attr

  /**
    *
    *
    * MDN
    */
  final lazy val gradientUnits = "gradientUnits".attr

  /**
    *
    *
    * MDN
    */
  final lazy val height = "height".attr

  /**
    *
    *
    * MDN
    */
  final lazy val imageRendering = "imageRendering".attr

  final lazy val id = "id".attr

  /**
    *
    *
    * MDN
    */
  final lazy val in = "in".attr

  /**
    *
    *
    * MDN
    */
  final lazy val in2 = "in2".attr

  /**
    *
    *
    * MDN
    */
  final lazy val k1 = "k1".attr

  /**
    *
    *
    * MDN
    */
  final lazy val k2 = "k2".attr

  /**
    *
    *
    * MDN
    */
  final lazy val k3 = "k3".attr

  /**
    *
    *
    * MDN
    */
  final lazy val k4 = "k4".attr

  /**
    *
    *
    * MDN
    */
  final lazy val kernelMatrix = "kernelMatrix".attr

  /**
    *
    *
    * MDN
    */
  final lazy val kernelUnitLength = "kernelUnitLength".attr

  /**
    *
    *
    * MDN
    */
  final lazy val kerning = "kerning".attr

  /**
    *
    *
    * MDN
    */
  final lazy val keySplines = "keySplines".attr

  /**
    *
    *
    * MDN
    */
  final lazy val keyTimes = "keyTimes".attr

  /**
    *
    *
    * MDN
    */
  final lazy val letterSpacing = "letter-spacing".attr

  /**
    *
    *
    * MDN
    */
  final lazy val lightingColor = "lighting-color".attr

  /**
    *
    *
    * MDN
    */
  final lazy val limitingConeAngle = "limitingConeAngle".attr

  /**
    *
    *
    * MDN
    */
  final lazy val local = "local".attr

  /**
    *
    *
    * MDN
    */
  final lazy val markerEnd = "markerEnd".attr

  /**
    *
    *
    * MDN
    */
  final lazy val markerMid = "markerMid".attr

  /**
    *
    *
    * MDN
    */
  final lazy val markerStart = "markerStart".attr

  /**
    *
    *
    * MDN
    */
  final lazy val markerHeight = "markerHeight".attr

  /**
    *
    *
    * MDN
    */
  final lazy val markerUnits = "markerUnits".attr

  /**
    *
    *
    * MDN
    */
  final lazy val markerWidth = "markerWidth".attr

  /**
    *
    *
    * MDN
    */
  final lazy val maskContentUnits = "maskContentUnits".attr

  /**
    *
    *
    * MDN
    */
  final lazy val maskUnits = "maskUnits".attr

  /**
    *
    *
    * MDN
    */
  final lazy val mask = "mask".attr

  /**
    *
    *
    * MDN
    */
  final lazy val max = "max".attr

  /**
    *
    *
    * MDN
    */
  final lazy val min = "min".attr

  /**
    *
    *
    * MDN
    */
  final lazy val mode = "mode".attr

  /**
    *
    *
    * MDN
    */
  final lazy val numOctaves = "numOctaves".attr

  final lazy val offset = "offset".attr

  /**
    *
    *
    * MDN
    */
  final lazy val opacity = "opacity".attr

  /**
    *
    *
    * MDN
    */
  final lazy val operator = "operator".attr

  /**
    *
    *
    * MDN
    */
  final lazy val order = "order".attr

  /**
    *
    *
    * MDN
    */
  final lazy val overflow = "overflow".attr

  /**
    *
    *
    * MDN
    */
  final lazy val paintOrder = "paint-order".attr

  /**
    *
    *
    * MDN
    */
  final lazy val pathLength = "pathLength".attr

  /**
    *
    *
    * MDN
    */
  final lazy val patternContentUnits = "patternContentUnits".attr

  /**
    *
    *
    * MDN
    */
  final lazy val patternTransform = "patternTransform".attr

  /**
    *
    *
    * MDN
    */
  final lazy val patternUnits = "patternUnits".attr

  /**
    *
    *
    * MDN
    */
  final lazy val pointerEvents = "pointer-events".attr

  /**
    *
    *
    * MDN
    */
  final lazy val points = "points".attr

  /**
    *
    *
    * MDN
    */
  final lazy val pointsAtX = "pointsAtX".attr

  /**
    *
    *
    * MDN
    */
  final lazy val pointsAtY = "pointsAtY".attr

  /**
    *
    *
    * MDN
    */
  final lazy val pointsAtZ = "pointsAtZ".attr

  /**
    *
    *
    * MDN
    */
  final lazy val preserveAlpha = "preserveAlpha".attr

  /**
    *
    *
    * MDN
    */
  final lazy val preserveAspectRatio = "preserveAspectRatio".attr

  /**
    *
    *
    * MDN
    */
  final lazy val primitiveUnits = "primitiveUnits".attr

  /**
    *
    *
    * MDN
    */
  final lazy val r = "r".attr

  /**
    *
    *
    * MDN
    */
  final lazy val radius = "radius".attr

  /**
    *
    *
    * MDN
    */
  final lazy val repeatCount = "repeatCount".attr

  /**
    *
    *
    * MDN
    */
  final lazy val repeatDur = "repeatDur".attr

  /**
    *
    *
    * MDN
    */
  final lazy val requiredFeatures = "requiredFeatures".attr

  /**
    *
    *
    * MDN
    */
  final lazy val restart = "restart".attr

  /**
    *
    *
    * MDN
    */
  final lazy val result = "result".attr

  /**
    *
    *
    * MDN
    */
  final lazy val rx = "rx".attr

  /**
    *
    *
    * MDN
    */
  final lazy val ry = "ry".attr

  /**
    *
    *
    * MDN
    */
  final lazy val scale = "scale".attr

  /**
    *
    *
    * MDN
    */
  final lazy val seed = "seed".attr

  /**
    *
    *
    * MDN
    */
  final lazy val shapeRendering = "shape-rendering".attr

  /**
    *
    *
    * MDN
    */
  final lazy val specularConstant = "specularConstant".attr

  /**
    *
    *
    * MDN
    */
  final lazy val specularExponent = "specularExponent".attr

  /**
    *
    *
    * MDN
    */
  final lazy val spreadMethod = "spreadMethod".attr

  /**
    *
    *
    * MDN
    */
  final lazy val stdDeviation = "stdDeviation".attr

  /**
    *
    *
    * MDN
    */
  final lazy val stitchTiles = "stitchTiles".attr

  /**
    *
    *
    * MDN
    */
  final lazy val stopColor = "stopColor".attr

  /**
    *
    *
    * MDN
    */
  final lazy val stopOpacity = "stopOpacity".attr

  /**
    *
    *
    * MDN
    */
  final lazy val stroke = "stroke".attr

  /**
    *
    *
    * MDN
    */
  final lazy val strokeDasharray = "strokeDasharray".attr

  /**
    *
    *
    * MDN
    */
  final lazy val strokeDashoffset = "stroke-dashoffset".attr

  /**
    *
    *
    * MDN
    */
  final lazy val strokeLinecap = "strokeLinecap".attr

  /**
    *
    *
    * MDN
    */
  final lazy val strokeLinejoin = "stroke-linejoin".attr

  /**
    *
    *
    * MDN
    */
  final lazy val strokeMiterlimit = "stroke-miterlimit".attr

  /**
    *
    *
    * MDN
    */
  final lazy val strokeOpacity = "strokeOpacity".attr

  /**
    *
    *
    * MDN
    */
  final lazy val strokeWidth = "strokeWidth".attr

  /**
    *
    *
    * MDN
    */
  final lazy val style = "style".attr

  /**
    *
    *
    * MDN
    */
  final lazy val surfaceScale = "surfaceScale".attr

  /**
    *
    *
    * MDN
    */
  final lazy val targetX = "targetX".attr

  /**
    *
    *
    * MDN
    */
  final lazy val targetY = "targetY".attr

  /**
    *
    *
    * MDN
    */
  final lazy val textAnchor = "textAnchor".attr

  /**
    *
    *
    * MDN
    */
  final lazy val textDecoration = "text-decoration".attr

  /**
    *
    *
    * MDN
    */
  final lazy val textRendering = "text-rendering".attr

  /**
    *
    *
    * MDN
    */
  final lazy val to = "to".attr

  /*
   *
   *
   * MDN
   */
  final lazy val transform = "transform".attr

  /*
   *
   *
   * MDN
   */
  final lazy val `type` = "type".attr

  /*
   *
   *
   * MDN
   */
  final lazy val values = "values".attr

  /**
    *
    * NOTE: This is a Style because react.js does not support it as an Attribute
    *
    * Sometimes it is of interest to let the outline of an object keep its original width no matter which transforms are
    * applied to it. For example, in a map with a 2px wide line representing roads it is of interest to keep the roads
    * 2px wide even when the user zooms into the map. To achieve this, SVG Tiny 1.2 introduces the 'vector-effect'
    * property. Future versions of the SVG language will allow for more powerful vector effects through this property
    * but this version restricts it to being able to specify the non-scaling stroke behavior
    *
    * w3.org
    *
    */
  object vectorEffect extends ReactStyle.Generic("vectorEffect") {

    /**
      * Specifies that no vector effect shall be applied, i.e. the default rendering behaviour from SVG 1.1 is used which
      * is to first fill the geometry of a shape with a specified paint, then stroke the outline with a specified paint.
      *
      * w3.org
      *
      */
    @inline final def none = this := "none"

    /**
      *
      *  Modifies the way an object is stroked. Normally stroking involves calculating stroke outline of the shape's
      *  path in current user space and filling that outline with the stroke paint (color or gradient).
      *  With the non-scaling-stroke vector effect, stroke outline shall be calculated in the "host" coordinate space
      *  instead of user coordinate space. More precisely: a user agent establishes a host coordinate space which in
      *  SVG Tiny 1.2 is always the same as "screen coordinate space". The stroke outline is calculated in the
      *  following manner: first, the shape's path is transformed into the host coordinate space.
      *  Stroke outline is calculated in the host coordinate space. The resulting outline is transformed back to the
      *  user coordinate system. (Stroke outline is always filled with stroke paint in the current user space).
      *  The resulting visual effect of this modification is that stroke width is not dependant on the transformations
      *  of the element (including non-uniform scaling and shear transformations) and zoom level.
      *
      *  w3.org
      *
      */
    @inline final def nonScalingStroke = this := "non-scaling-stroke"

  }

  /**
    *
    *
    * MDN
    */
  final lazy val viewBox = "viewBox".attr

  /*
   *
   *
   * MDN
   */
  final lazy val visibility = "visibility".attr

  /*
   *
   *
   * MDN
   */
  final lazy val width = "width".attr

  /*
   *
   *
   * MDN
   */
  final lazy val wordSpacing = "word-spacing".attr

  /*
   *
   *
   * MDN
   */
  final lazy val writingMode = "writing-mode".attr

  /*
   *
   *
   * MDN
   */
  final lazy val x = "x".attr

  /*
   *
   *
   * MDN
   */
  final lazy val x1 = "x1".attr

  /*
   *
   *
   * MDN
   */
  final lazy val x2 = "x2".attr

  /*
   *
   *
   * MDN
   */
  final lazy val xChannelSelector = "xChannelSelector".attr

  /**
    *
    *
    * MDN
    */
  final lazy val xmlns = "xmlns".attr

  /*
   *
   *
   * MDN
   */
  final lazy val y = "y".attr

  /*
   *
   *
   * MDN
   */
  final lazy val y1 = "y1".attr

  /*
   *
   *
   * MDN
   */
  final lazy val y2 = "y2".attr

  /*
   *
   *
   * MDN
   */
  final lazy val yChannelSelector = "yChannelSelector".attr

  /*
   *
   *
   * MDN
   */
  final lazy val z = "z".attr

  final lazy val xlinkActuate = "xlinkActuate".attr
  final lazy val xlinkArcrole = "xlinkArcrole".attr
  final lazy val xlinkHref    = "xlinkHref".attr
  final lazy val xlinkRole    = "xlinkRole".attr
  final lazy val xlinkShow    = "xlinkShow".attr
  final lazy val xlinkTitle   = "xlinkTitle".attr
  final lazy val xlinkType    = "xlinkType".attr
  final lazy val xmlBase      = "xmlBase".attr
  final lazy val xmlLang      = "xmlLang".attr
  final lazy val xmlSpace     = "xmlSpace".attr
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy