scalatags.generic

SvgStyles

trait SvgStyles[Builder, Output <: FragT, FragT] extends StyleMisc[Builder, Output, FragT]

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

Linear Supertypes
StyleMisc[Builder, Output, FragT], Util[Builder, Output, FragT], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SvgStyles
  2. StyleMisc
  3. Util
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type ConcreteHtmlTag[T <: Output] <: TypedTag[Builder, T, FragT]

    Definition Classes
    Util
  2. implicit class ExtendedString extends AnyRef

    Provides extension methods on strings to fit them into Scalatag fragments.

    Provides extension methods on strings to fit them into Scalatag fragments.

    Definition Classes
    Util
  3. implicit class SeqNode[A] extends Modifier[Builder]

    Allows you to modify a HtmlTag by adding a Seq containing other nest-able objects to its list of children.

    Allows you to modify a HtmlTag by adding a Seq containing other nest-able objects to its list of children.

    Definition Classes
    Util

Abstract Value Members

  1. abstract def makeAbstractTypedTag[T <: Output](tag: String, void: Boolean): ConcreteHtmlTag[T]

    Definition Classes
    Util
  2. implicit abstract def stringAttr: AttrValue[Builder, String]

    Attributes
    protected[this]
    Definition Classes
    Util
  3. implicit abstract def stringStyle: StyleValue[Builder, String]

    Attributes
    protected[this]
    Definition Classes
    Util

Concrete 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. implicit def ArrayNode[A](xs: Array[A])(implicit arg0: (A) ⇒ Modifier[Builder]): SeqNode[A]

    Allows you to modify a HtmlTag by adding an Array containing other nest-able objects to its list of children.

    Allows you to modify a HtmlTag by adding an Array containing other nest-able objects to its list of children.

    Definition Classes
    Util
  5. implicit def OptionNode[A](xs: Option[A])(implicit arg0: (A) ⇒ Modifier[Builder]): SeqNode[A]

    Allows you to modify a HtmlTag by adding an Option containing other nest-able objects to its list of children.

    Allows you to modify a HtmlTag by adding an Option containing other nest-able objects to its list of children.

    Definition Classes
    Util
  6. implicit def UnitNode(u: Unit): Modifier[Builder]

    Lets you put Unit into a scalatags tree, as a no-op.

    Lets you put Unit into a scalatags tree, as a no-op.

    Definition Classes
    Util
  7. object alignmentBaseline extends Style 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

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. object baselineShift extends Style

    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

  10. val clipPath: Style

    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

  11. 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

  12. def clone(): AnyRef

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

    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

  14. object dominantBaseline extends Style 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

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

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

    Definition Classes
    AnyRef → Any
  17. object fill extends Style

    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

  18. val fillOpacity: Style

    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

  19. 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

  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. 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

  22. val floodOpacity: Style

    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

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

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

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

    Definition Classes
    Any
  26. val kerning: Style

    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

  27. 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

  28. val marker: Style

    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

  29. val markerEnd: Style

    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

  30. 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

  31. val markerStart: Style

    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

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

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

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

    Definition Classes
    AnyRef
  35. 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

  36. val stopOpacity: Style

    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

  37. val stroke: Style

    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

  38. val strokeDasharray: Style

    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

  39. val strokeDashoffset: Style

    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

  40. object strokeLinecap extends Style

    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

  41. object strokeLinejoin extends Style

    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

  42. val strokeMiterlimit: Style

    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

  43. val strokeOpacity: Style

    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

  44. val strokeWidth: Style

    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

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

    Definition Classes
    AnyRef
  46. object textAnchor extends Style

    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

  47. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StyleMisc[Builder, Output, FragT]

Inherited from Util[Builder, Output, FragT]

Inherited from AnyRef

Inherited from Any

Ungrouped