Trait silkenweb::elements::svg::attributes::Presentation
source · pub trait Presentation: Element {
Show 55 methods
// Provided methods
fn alignment_baseline<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn baseline_shift<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn clip_path<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn clip_rule<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn color<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Self
where T: AsAttribute<String> { ... }
fn color_interpolation<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn color_interpolation_filters<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn color_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn cursor<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Self
where T: AsAttribute<String> { ... }
fn d<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Self
where T: AsAttribute<Data> { ... }
fn direction<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn display<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Self
where T: AsAttribute<String> { ... }
fn dominant_baseline<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn fill<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Self
where T: AsAttribute<String> { ... }
fn fill_opacity<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<NumberOrPercentage> { ... }
fn fill_rule<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn filter<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Self
where T: AsAttribute<String> { ... }
fn flood_color<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn flood_opacity<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<NumberOrPercentage> { ... }
fn font_family<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn font_size<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn font_size_adjust<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn font_stretch<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn font_style<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn font_variant<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn font_weight<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn image_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn letter_spacing<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn lighting_color<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn marker_end<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn marker_mid<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn marker_start<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn mask<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Self
where T: AsAttribute<String> { ... }
fn opacity<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Self
where T: AsAttribute<f64> { ... }
fn overflow<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Self
where T: AsAttribute<String> { ... }
fn pointer_events<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn shape_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn solid_color<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn solid_opacity<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn stop_color<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn stop_opacity<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn stroke<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Self
where T: AsAttribute<String> { ... }
fn stroke_dasharray<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn stroke_dashoffset<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<Length> { ... }
fn stroke_linecap<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn stroke_linejoin<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn stroke_miterlimit<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<f64> { ... }
fn stroke_opacity<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<NumberOrPercentage> { ... }
fn stroke_width<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<Length> { ... }
fn text_anchor<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn text_decoration<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn text_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn transform<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn unicode_bidi<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
fn vector_effect<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Self
where T: AsAttribute<String> { ... }
}
Expand description
SVG Presentation Attributes
Provided Methods§
sourcefn alignment_baseline<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn alignment_baseline<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG alignment-baseline
attribute
It specifies how an object is aligned along the font baseline with respect to its parent. Value: auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical|inherit; Animatable: Yes
sourcefn baseline_shift<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn baseline_shift<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG baseline-shift
attribute
It allows repositioning of the dominant-baseline relative to the
dominant-baseline of the parent text content element. Value:
auto|baseline|super|sub|<percentage>
|<length>
|inherit;
Animatable: Yes
sourcefn clip_path<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn clip_path<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG clip-path
attribute
It binds the element it is applied to with a given <clipPath>
element. Value: none|<FuncIRI>
|inherit; Animatable: Yes
sourcefn clip_rule<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn clip_rule<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG clip-rule
attribute
It indicates how to determine what side of a path is inside a shape
in order to know how a <clipPath>
should clip its target. Value:
nonezero|evenodd|inherit; Animatable: Yes
sourcefn color<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn color<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG color
attribute
It provides a potential indirect value (currentcolor) for the fill,
stroke, stop-color, flood-color and lighting-color presentation
attributes. Value: <color>
|inherit; Animatable: Yes
sourcefn color_interpolation<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn color_interpolation<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG color-interpolation
attribute
It specifies the color space for gradient interpolations, color animations, and alpha compositing. Value: auto|sRGB|linearRGB|inherit; Animatable: Yes
sourcefn color_interpolation_filters<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn color_interpolation_filters<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG color-interpolation-filters
attribute
It specifies the color space for imaging operations performed via filter effects. Value: auto|sRGB|linearRGB|inherit; Animatable: Yes
sourcefn color_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn color_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG color-rendering
attribute
It provides a hint to the browser about how to optimize its color interpolation and compositing operations. Value: auto|optimizeSpeed|optimizeQuality|inherit; Animatable: Yes
sourcefn cursor<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn cursor<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG cursor
attribute
It specifies the mouse cursor displayed when the mouse pointer is
over an element. Value: <FuncIRI>
|<keywords>
|inherit;
Animatable: Yes
sourcefn d<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<Data>,
fn d<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<Data>,
The SVG d
attribute
It defines a path to be drawn. Value: path()|none
sourcefn direction<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn direction<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG direction
attribute
It specifies the base writing direction of text. Value: ltr|rtl|inherit; Animatable: Yes
sourcefn display<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn display<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG display
attribute
It allows to control the rendering of graphical or container elements. Value: see CSS display; Animatable: Yes
sourcefn dominant_baseline<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn dominant_baseline<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG dominant-baseline
attribute
It defines the baseline used to align the box’s text and inline-level contents. Value: auto|text-bottom|alphabetic|ideographic|middle|central| mathematical|hanging|text-top; Animatable: Yes
sourcefn fill<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn fill<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG fill
attribute
It defines the color of the inside of the graphical element it
applies to. Value: <paint>
; Animatable: Yes
sourcefn fill_opacity<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<NumberOrPercentage>,
fn fill_opacity<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<NumberOrPercentage>,
The SVG fill-opacity
attribute
It specifies the opacity of the color or the content the current
object is filled with. Value: <number>
|<percentage>
; Animatable:
Yes
sourcefn fill_rule<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn fill_rule<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG fill-rule
attribute
It indicates how to determine what side of a path is inside a shape. Value: nonzero|evenodd|inherit; Animatable: Yes
sourcefn filter<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn filter<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG filter
attribute
It defines the filter effects defined by the <filter>
element that
shall be applied to its element. Value: <FuncIRI>
|none|inherit;
Animatable: Yes
sourcefn flood_color<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn flood_color<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG flood-color
attribute
It indicates what color to use to flood the current filter primitive
subregion defined through the <feFlood>
or <feDropShadow>
element. Value: <color>
; Animatable: Yes
sourcefn flood_opacity<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<NumberOrPercentage>,
fn flood_opacity<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<NumberOrPercentage>,
The SVG flood-opacity
attribute
It indicates the opacity value to use across the current filter
primitive subregion defined through the <feFlood>
or
<feDropShadow>
element. Value: <number>
|<percentage>
;
Animatable: Yes
sourcefn font_family<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn font_family<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG font-family
attribute
It indicates which font family will be used to render the text of the element. Value: see CSS font-family; Animatable: Yes
sourcefn font_size<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn font_size<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG font-size
attribute
It specifies the size of the font. Value: see CSS font-size; Animatable: Yes
sourcefn font_size_adjust<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn font_size_adjust<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG font-size-adjust
attribute
It specifies that the font size should be chosen based on the height
of lowercase letters rather than the height of capital letters.
Value: <number>
|none|inherit; Animatable: Yes
sourcefn font_stretch<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn font_stretch<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG font-stretch
attribute
It selects a normal, condensed, or expanded face from a font. Value: see CSS font-stretch; Animatable: Yes
sourcefn font_style<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn font_style<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG font-style
attribute
It specifies whether a font should be styled with a normal, italic, or oblique face from its font-family. Value: normal|italic|oblique; Animatable: Yes
sourcefn font_variant<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn font_variant<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG font-variant
attribute
It specifies whether a font should be used with some of their variation such as small caps or ligatures. Value: see CSS font-variant; Animatable: Yes
sourcefn font_weight<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn font_weight<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG font-weight
attribute
It specifies the weight (or boldness) of the font. Value: normal|bold|lighter|bolder|100|200|300|400|500|600|700|800|900; Animatable: Yes
sourcefn image_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn image_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG image-rendering
attribute
It provides a hint to the browser about how to make speed vs. quality tradeoffs as it performs image processing. Value: auto|optimizeQuality|optimizeSpeed; Animatable: Yes
sourcefn letter_spacing<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn letter_spacing<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG letter-spacing
attribute
It controls spacing between text characters. Value:
normal|<length>
|inherit; Animatable: Yes
sourcefn lighting_color<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn lighting_color<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG lighting-color
attribute
It defines the color of the light source for filter primitives
elements <feDiffuseLighting>
and <feSpecularLighting>
. Value:
<color>
; Animatable: Yes
sourcefn marker_end<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn marker_end<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG marker-end
attribute
It defines the arrowhead or polymarker that will be drawn at the
final vertex of the given <path>
element or basic shape. Value:
<FuncIRI>
|none|inherit; Animatable: Yes
sourcefn marker_mid<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn marker_mid<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG marker-mid
attribute
It defines the arrowhead or polymarker that will be drawn at every
vertex other than the first and last vertex of the given <path>
element or basic shape. Value: <FuncIRI>
|none|inherit; Animatable:
Yes
sourcefn marker_start<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn marker_start<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG marker-start
attribute
It defines the arrowhead or polymarker that will be drawn at the
first vertex of the given <path>
element or basic shape. Value:
<FuncIRI>
|none|inherit; Animatable: Yes
sourcefn mask<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn mask<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG mask
attribute
It alters the visibility of an element by either masking or clipping the image at specific points. Value: see CSS mask; Animatable: Yes
sourcefn opacity<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<f64>,
fn opacity<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<f64>,
The SVG opacity
attribute
It specifies the transparency of an object or a group of objects.
Value: <opacity-value>
; Animatable: Yes
sourcefn overflow<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn overflow<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG overflow
attribute
Specifies whether the content of a block-level element is clipped when it overflows the element’s box. Value: visible|hidden|scroll|auto|inherit; Animatable: Yes
sourcefn pointer_events<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn pointer_events<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG pointer-events
attribute
Defines whether or when an element may be the target of a mouse event. Value: bounding-box|visiblePainted|visibleFill|visibleStroke|visible |painted|fill|stroke|all|none; Animatable: Yes
sourcefn shape_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn shape_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG shape-rendering
attribute
Hints about what tradeoffs to make as the browser renders <path>
element or basic shapes. Value:
auto|optimizeSpeed|crispEdges|geometricPrecision |inherit;
Animatable: Yes
sourcefn solid_color<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn solid_color<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG solid-color
attribute
- Value:; Animatable: -
sourcefn solid_opacity<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn solid_opacity<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG solid-opacity
attribute
_Value:; Animatable: -
sourcefn stop_color<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn stop_color<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG stop-color
attribute
Indicates what color to use at that gradient stop. Value:
currentcolor|<color>
|<icccolor>
|inherit; Animatable: Yes
sourcefn stop_opacity<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn stop_opacity<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG stop-opacity
attribute
Defines the opacity of a given gradient stop. Value:
<opacity-value>
|inherit; Animatable: Yes
sourcefn stroke<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn stroke<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG stroke
attribute
Defines the color used to paint the outline of the shape. Value:
<paint>
; Animatable: Yes
sourcefn stroke_dasharray<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn stroke_dasharray<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG stroke-dasharray
attribute
Defines the pattern of dashes and gaps used to paint the outline of
the shape. Value: none|<dasharray>
; Animatable: Yes
sourcefn stroke_dashoffset<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<Length>,
fn stroke_dashoffset<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<Length>,
The SVG stroke-dashoffset
attribute
Defines an offset on the rendering of the associated dash array.
Value: <percentage>
|<length>
; Animatable: Yes
sourcefn stroke_linecap<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn stroke_linecap<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG stroke-linecap
attribute
Defines the shape to be used at the end of open subpaths when they are stroked. Value: butt|round|square; Animatable: Yes
sourcefn stroke_linejoin<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn stroke_linejoin<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG stroke-linejoin
attribute
Defines the shape to be used at the corners of paths when they are stroked. Value: arcs|bevel|miter|miter-clip|round; Animatable: Yes
sourcefn stroke_miterlimit<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<f64>,
fn stroke_miterlimit<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<f64>,
The SVG stroke-miterlimit
attribute
Defines a limit on the ratio of the miter length to the stroke-width
used to draw a miter join. Value: <number>
; Animatable: Yes
sourcefn stroke_opacity<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<NumberOrPercentage>,
fn stroke_opacity<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<NumberOrPercentage>,
The SVG stroke-opacity
attribute
Defines the opacity of the stroke of a shape. Value:
<opacity-value>
|<percentage>
; Animatable: Yes
sourcefn stroke_width<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<Length>,
fn stroke_width<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<Length>,
The SVG stroke-width
attribute
Defines the width of the stroke to be applied to the shape. Value:
<length>
|<percentage>
; Animatable: Yes
sourcefn text_anchor<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn text_anchor<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG text-anchor
attribute
Defines the vertical alignment a string of text. Value: start|middle|end|inherit; Animatable: Yes
sourcefn text_decoration<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn text_decoration<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG text-decoration
attribute
Sets the appearance of decorative lines on text. Value: none|underline|overline|line-through|blink|inherit; Animatable: Yes
sourcefn text_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn text_rendering<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG text-rendering
attribute
Hints about what tradeoffs to make as the browser renders text. Value: auto|optimizeSpeed|optimizeLegibility|geometricPrecision|inherit; Animatable: Yes
sourcefn transform<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn transform<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG transform
attribute
Defines a list of transform definitions that are applied to an
element and the element’s children. Value: <transform-list>
;
Animatable: Yes
sourcefn unicode_bidi<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
fn unicode_bidi<'a, T>(self, value: impl RefSignalOrValue<'a, Item = T>) -> Selfwhere
T: AsAttribute<String>,
The SVG unicode-bidi
attribute
- Value:; Animatable: -
sourcefn vector_effect<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
fn vector_effect<'a, T>(
self,
value: impl RefSignalOrValue<'a, Item = T>
) -> Selfwhere
T: AsAttribute<String>,
The SVG vector-effect
attribute
Specifies the vector effect to use when drawing an object. Value:
default|non-scaling-stroke|inherit|<uri>
; Animatable: Yes