scalatags

SvgStyles

object SvgStyles

Contains CSS styles which are only used for SVG. These are not imported by default to avoid namespace pollution.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SvgStyles
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. object alignmentBaseline extends TypedStyle[String] with Baseline

    This property specifies which baseline of this element is to be aligned with the corresponding baseline of the 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.

    MDN

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. object baselineShift extends TypedStyle[Length]

    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.

    MDN

  7. val clipPath: TypedStyle[String]

    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.

    MDN

  8. val clipRule: ClipFillRule

    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.

    MDN

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. object colorInterpolationFilters extends UntypedStyle

    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.

    MDN

  11. object dominantBaseline extends TypedStyle[String] with Baseline

    The dominant-baseline attribute is used to determine or re-determine a scaled-baseline-table.

    The dominant-baseline attribute is used to determine or re-determine a scaled-baseline-table. A scaled-baseline-table is a compound value with three components: a baseline-identifier for the dominant-baseline, a baseline-table and a baseline-table font-size. Some values of the property re-determine all three values; other only re-establish the baseline-table font-size. When the initial value, auto, would give an undesired result, this property can be used to explicitly set the desire scaled-baseline-table.

    MDN

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. object fill extends TypedStyle[String]

    The fill attribute has two meanings based on the context it's used.

    The fill attribute has two meanings based on the context it's used.

    By default, when animation elements end their effects are no longer applied to the presentation value for the target attributes. The fill attribute can be used to maintain the value of an animation after the active duration of an animation element ends.

    For shapes and text, the fill attribute is a presentation attribute that define the color of the interior of the given graphical element. What is called the "interior" depends on the shape itself and the value of the fill-rule attribute. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet

    MDN

  15. val fillOpacity: TypedStyle[Double]

    This attribute specifies the opacity of the color or the content the current object is filled with.

    This attribute specifies the opacity of the color or the content the current object is filled with.

    MDN

  16. val fillRule: ClipFillRule

    The fill-rule attribute indicates the algorithm which is to be used to determine what side of a path is inside the shape.

    The fill-rule attribute indicates the algorithm which is to be used to determine what side of a path is inside the shape. For a simple, non-intersecting path, it is intuitively clear what region lies "inside"; however, for a more complex path, such as a path that intersects itself or where one subpath encloses another, the interpretation of "inside" is not so obvious.

    MDN

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. val floodColor: CurrentColor

    The flood-color attribute indicates what color to use to flood the current filter primitive subregion defined through the feflood element.

    The flood-color attribute indicates what color to use to flood the current filter primitive subregion defined through the feflood element. The keyword currentColor and ICC colors can be specified in the same manner as within a paint specification for the fill and stroke attributes.

    MDN

  19. val floodOpacity: TypedStyle[Double]

    The flood-opacity attribute indicates the opacity value to use across the current filter primitive subregion defined through the feflood element.

    The flood-opacity attribute indicates the opacity value to use across the current filter primitive subregion defined through the feflood element.

    MDN

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. val kerning: TypedStyle[Length]

    The kerning attribute indicates whether the browser should adjust inter-glyph spacing based on kerning tables that are included in the relevant font (i.

    The kerning attribute indicates whether the browser should adjust inter-glyph spacing based on kerning tables that are included in the relevant font (i.e., enable auto-kerning) or instead disable auto-kerning and instead set inter-character spacing to a specific Length (typically, zero).

    MDN

  24. val lightingColor: CurrentColor

    The lighting-color attribute defines the color of the light source for filter primitives elements fediffuselighting and fespecularlighting.

    The lighting-color attribute defines the color of the light source for filter primitives elements fediffuselighting and fespecularlighting.

    MDN

  25. val marker: TypedStyle[String]

    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.

    MDN

  26. val markerEnd: TypedStyle[String]

    The marker-end defines the arrowhead or polymarker that will be drawn at the final vertex of the given path element or basic shape.

    The marker-end defines the arrowhead or polymarker that will be drawn at the final vertex of the given path element or basic shape. Note that for a path element which ends with a closed sub-path, the last vertex is the same as the initial vertex on the given sub-path. In this case, if marker-end does not equal none, then it is possible that two markers will be rendered on the given vertex. One way to prevent this is to set marker-end to none. (Note that the same comment applies to polygon elements.)

    MDN

  27. val markerMid: NoneOpenStyle[String]

    The marker-mid defines the arrowhead or polymarker that shall be drawn at every vertex other than the first and last vertex of the given path element or basic shape.

    The marker-mid defines the arrowhead or polymarker that shall be drawn at every vertex other than the first and last vertex of the given path element or basic shape.

    MDN

  28. val markerStart: TypedStyle[String]

    The marker-start attribute defines the arrowhead or polymarker that will be drawn at the first vertex of the given path element or basic shape.

    The marker-start attribute defines the arrowhead or polymarker that will be drawn at the first vertex of the given path element or basic shape.

    MDN

  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. val stopColor: CurrentColor

    The stop-color attribute indicates what color to use at that gradient stop.

    The stop-color attribute indicates what color to use at that gradient stop. The keyword currentColor and ICC colors can be specified in the same manner as within a paint specification for the fill and stroke attributes.

    MDN

  33. val stopOpacity: TypedStyle[Number]

    The stop-opacity attribute defines the opacity of a given gradient stop.

    The stop-opacity attribute defines the opacity of a given gradient stop.

    MDN

  34. val stroke: TypedStyle[String]

    the stroke attribute is a presentation attribute that define the color of the outline of the given graphical element.

    the stroke attribute is a presentation attribute that define the color of the outline of the given graphical element. The default value for the stroke attribute is none which mean that the outline is never drawn.

    MDN

  35. val strokeDasharray: TypedStyle[String]

    the stroke-dasharray attribute controls the pattern of dashes and gaps used to stroke paths.

    the stroke-dasharray attribute controls the pattern of dashes and gaps used to stroke paths.

    MDN

  36. val strokeDashoffset: TypedStyle[Length]

    the stroke-dashoffset attribute specifies the distance into the dash pattern to start the dash.

    the stroke-dashoffset attribute specifies the distance into the dash pattern to start the dash.

    MDN

  37. object strokeLinecap extends UntypedStyle

    The stroke-linecap attribute specifies the shape to be used at the end of open subpaths when they are stroked.

    The stroke-linecap attribute specifies the shape to be used at the end of open subpaths when they are stroked.

    MDN

  38. object strokeLinejoin extends UntypedStyle

    The stroke-linejoin attribute specifies the shape to be used at the corners of paths or basic shapes when they are stroked.

    The stroke-linejoin attribute specifies the shape to be used at the corners of paths or basic shapes when they are stroked.

    MDN

  39. val strokeMiterlimit: TypedStyle[Number]

    When two line segments meet at a sharp angle and miter joins have been specified for stroke-linejoin, it is possible for the miter to extend far beyond the thickness of the line stroking the path.

    When two line segments meet at a sharp angle and miter joins have been specified for stroke-linejoin, it is possible for the miter to extend far beyond the thickness of the line stroking the path. The stroke-miterlimit imposes a limit on the ratio of the miter Length to the stroke-width. When the limit is exceeded, the join is converted from a miter to a bevel.

    MDN

  40. val strokeOpacity: TypedStyle[Double]

    the stroke-opacity attribute specifies the opacity of the outline on the current object.

    the stroke-opacity attribute specifies the opacity of the outline on the current object. Its default value is 1.

    MDN

  41. val strokeWidth: TypedStyle[Length]

    the stroke-width attribute specifies the width of the outline on the current object.

    the stroke-width attribute specifies the width of the outline on the current object. Its default value is 1. If a percentage is used, the value represents a percentage of the current viewport. If a value of 0 is used the outline will never be drawn.

    MDN

  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. object textAnchor extends TypedStyle[String]

    The text-anchor attribute is used to align (start-, middle- or end-alignment) a string of text relative to a given point.

    The text-anchor attribute is used to align (start-, middle- or end-alignment) a string of text relative to a given point.

    MDN

  44. def toString(): String

    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped