[−][src]Struct vega_lite_4::ViewBackgroundBuilder
Builder for ViewBackground
.
Implementations
impl ViewBackgroundBuilder
[src]
pub fn corner_radius<VALUE: Into<CornerRadiusUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn cursor<VALUE: Into<Cursor>>(&mut self, value: VALUE) -> &mut Self
[src]
The mouse cursor used over the view. Any valid CSS cursor type can be used.
pub fn fill<VALUE: Into<Color>>(&mut self, value: VALUE) -> &mut Self
[src]
The fill color.
Default value: undefined
pub fn fill_opacity<VALUE: Into<Opacity>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn opacity<VALUE: Into<CornerRadiusUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The overall opacity (value between [0,1]).
Default value: 0.7
for non-aggregate plots with point
, tick
, circle
, or
square
marks or layered bar
charts and 1
otherwise.
pub fn stroke<VALUE: Into<RemovableValue<Color>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The stroke color.
Default value: "#ddd"
pub fn stroke_cap<VALUE: Into<Cap>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn stroke_dash<VALUE: Into<StrokeDashUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn stroke_dash_offset<VALUE: Into<CornerRadiusUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn stroke_join<VALUE: Into<StrokeJoinUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn stroke_miter_limit<VALUE: Into<CornerRadiusUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn stroke_opacity<VALUE: Into<Opacity>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn stroke_width<VALUE: Into<FontSize>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn style<VALUE: Into<LegendText>>(&mut self, value: VALUE) -> &mut Self
[src]
A string or array of strings indicating the name of custom styles to apply to the view background. A style is a named collection of mark property defaults defined within the style configuration. If style is an array, later styles will override earlier styles.
Default value: "cell"
Note: Any specified view background properties will
augment the default style.
pub fn build(&self) -> Result<ViewBackground, String>
[src]
Trait Implementations
impl Clone for ViewBackgroundBuilder
[src]
pub fn clone(&self) -> ViewBackgroundBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ViewBackgroundBuilder
[src]
pub fn default() -> ViewBackgroundBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ViewBackgroundBuilder
[src]
impl Send for ViewBackgroundBuilder
[src]
impl Sync for ViewBackgroundBuilder
[src]
impl Unpin for ViewBackgroundBuilder
[src]
impl UnwindSafe for ViewBackgroundBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,