[−][src]Struct pathfinder_renderer::paint::Paint
Methods
impl Paint
[src]
pub fn from_color(color: ColorU) -> Paint
[src]
pub fn from_gradient(gradient: Gradient) -> Paint
[src]
pub fn from_pattern(pattern: Pattern) -> Paint
[src]
pub fn black() -> Paint
[src]
pub fn transparent_black() -> Paint
[src]
pub fn is_opaque(&self) -> bool
[src]
pub fn is_fully_transparent(&self) -> bool
[src]
pub fn is_color(&self) -> bool
[src]
pub fn apply_transform(&mut self, transform: &Transform2F)
[src]
pub fn base_color(&self) -> ColorU
[src]
pub fn set_base_color(&mut self, new_base_color: ColorU)
[src]
pub fn overlay(&self) -> &Option<PaintOverlay>
[src]
pub fn overlay_mut(&mut self) -> &mut Option<PaintOverlay>
[src]
pub fn pattern(&self) -> Option<&Pattern>
[src]
pub fn pattern_mut(&mut self) -> Option<&mut Pattern>
[src]
pub fn gradient(&self) -> Option<&Gradient>
[src]
Trait Implementations
impl Clone for Paint
[src]
impl Debug for Paint
[src]
impl Eq for Paint
[src]
impl Hash for Paint
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Paint> for Paint
[src]
impl StructuralEq for Paint
[src]
impl StructuralPartialEq for Paint
[src]
Auto Trait Implementations
impl RefUnwindSafe for Paint
impl Send for Paint
impl Sync for Paint
impl Unpin for Paint
impl UnwindSafe for Paint
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,