scalatags.generic

SvgStyles

trait SvgStyles[Builder, Output] extends StyleMisc[Builder, Output]

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

Linear Supertypes
StyleMisc[Builder, Output], Util[Builder, Output], 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]

    Definition Classes
    Util
  2. implicit class ExtendedString extends AnyRef

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

  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.

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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. 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
  7. 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
  8. 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
  9. 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.

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. 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.

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

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

  14. def clone(): AnyRef

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

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

  16. object dominantBaseline extends Style with Baseline

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

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

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

    Definition Classes
    AnyRef → Any
  19. object fill extends Style

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

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

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

  22. def finalize(): Unit

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

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

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

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

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

    Definition Classes
    Any
  28. 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

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

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

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

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

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

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

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

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

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

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

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

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

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

  42. object strokeLinecap extends Style

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

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

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

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

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

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

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

  49. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StyleMisc[Builder, Output]

Inherited from Util[Builder, Output]

Inherited from AnyRef

Inherited from Any

Ungrouped