Struct cairo::LinearGradient [−][src]
pub struct LinearGradient { /* fields omitted */ }Methods
impl LinearGradient[src]
impl LinearGradientpub fn new(x0: f64, y0: f64, x1: f64, y1: f64) -> LinearGradient[src]
pub fn new(x0: f64, y0: f64, x1: f64, y1: f64) -> LinearGradientpub fn get_linear_points(&self) -> (f64, f64, f64, f64)[src]
pub fn get_linear_points(&self) -> (f64, f64, f64, f64)Trait Implementations
impl Debug for LinearGradient[src]
impl Debug for LinearGradientfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PatternTrait for LinearGradient[src]
impl PatternTrait for LinearGradienttype PatternType = LinearGradient
unsafe fn from_raw_full(pointer: *mut cairo_pattern_t) -> Self::PatternType[src]
unsafe fn from_raw_full(pointer: *mut cairo_pattern_t) -> Self::PatternTypefn as_ptr(&self) -> *mut cairo_pattern_t[src]
fn as_ptr(&self) -> *mut cairo_pattern_tfn ensure_status(&self)[src]
fn ensure_status(&self)fn status(&self) -> Status[src]
fn status(&self) -> Statusfn get_reference_count(&self) -> isize[src]
fn get_reference_count(&self) -> isizefn set_extend(&self, extend: Extend)[src]
fn set_extend(&self, extend: Extend)fn get_extend(&self) -> Extend[src]
fn get_extend(&self) -> Extendfn set_filter(&self, filter: Filter)[src]
fn set_filter(&self, filter: Filter)fn get_filter(&self) -> Filter[src]
fn get_filter(&self) -> Filterfn set_matrix(&self, matrix: Matrix)[src]
fn set_matrix(&self, matrix: Matrix)fn get_matrix(&self) -> Matrix[src]
fn get_matrix(&self) -> Matrixunsafe fn from_raw_none(pointer: *mut cairo_pattern_t) -> Self::PatternType[src]
unsafe fn from_raw_none(pointer: *mut cairo_pattern_t) -> Self::PatternTypeimpl Clone for LinearGradient[src]
impl Clone for LinearGradientfn clone(&self) -> Self[src]
fn clone(&self) -> SelfReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Drop for LinearGradient[src]
impl Drop for LinearGradientimpl Gradient for LinearGradient[src]
impl Gradient for LinearGradientAuto Trait Implementations
impl !Send for LinearGradient
impl !Send for LinearGradientimpl !Sync for LinearGradient
impl !Sync for LinearGradient