[−][src]Struct vega_lite_4::FluffyLinearGradient
Fields
gradient: Option<Gradient>
The type of gradient. Use "linear"
for a linear gradient.
The type of gradient. Use "radial"
for a radial gradient.
id: Option<String>
stops: Option<Vec<GradientStop>>
An array of gradient stops defining the gradient color sequence.
x1: Option<f64>
The starting x-coordinate, in normalized [0, 1] coordinates, of the linear gradient.
Default value: 0
The x-coordinate, in normalized [0, 1] coordinates, for the center of the inner circle for the gradient.
Default value: 0.5
x2: Option<f64>
The ending x-coordinate, in normalized [0, 1] coordinates, of the linear gradient.
Default value: 1
The x-coordinate, in normalized [0, 1] coordinates, for the center of the outer circle for the gradient.
Default value: 0.5
y1: Option<f64>
The starting y-coordinate, in normalized [0, 1] coordinates, of the linear gradient.
Default value: 0
The y-coordinate, in normalized [0, 1] coordinates, for the center of the inner circle for the gradient.
Default value: 0.5
y2: Option<f64>
The ending y-coordinate, in normalized [0, 1] coordinates, of the linear gradient.
Default value: 0
The y-coordinate, in normalized [0, 1] coordinates, for the center of the outer circle for the gradient.
Default value: 0.5
r1: Option<f64>
The radius length, in normalized [0, 1] coordinates, of the inner circle for the gradient.
Default value: 0
r2: Option<f64>
The radius length, in normalized [0, 1] coordinates, of the outer circle for the gradient.
Default value: 0.5
expr: Option<String>
Vega expression (which can refer to Vega-Lite parameters).
Trait Implementations
impl Clone for FluffyLinearGradient
[src]
pub fn clone(&self) -> FluffyLinearGradient
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FluffyLinearGradient
[src]
impl Default for FluffyLinearGradient
[src]
pub fn default() -> FluffyLinearGradient
[src]
impl<'de> Deserialize<'de> for FluffyLinearGradient
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<FluffyLinearGradient> for MarkConfigExprOrSignalRefFill
[src]
pub fn from(original: FluffyLinearGradient) -> MarkConfigExprOrSignalRefFill
[src]
impl Serialize for FluffyLinearGradient
[src]
Auto Trait Implementations
impl RefUnwindSafe for FluffyLinearGradient
[src]
impl Send for FluffyLinearGradient
[src]
impl Sync for FluffyLinearGradient
[src]
impl Unpin for FluffyLinearGradient
[src]
impl UnwindSafe for FluffyLinearGradient
[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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,