pub type Region = Handle<SkRegion>;Aliased Type§
pub struct Region(/* private fields */);Implementations§
Source§impl Region
impl Region
pub fn new() -> Region
pub fn from_rect(rect: impl AsRef<IRect>) -> Region
pub fn set(&mut self, src: &Region) -> bool
pub fn swap(&mut self, other: &mut Region)
pub fn is_empty(&self) -> bool
pub fn is_rect(&self) -> bool
pub fn is_complex(&self) -> bool
pub fn bounds(&self) -> &IRect
pub fn compute_region_complexity(&self) -> usize
pub fn add_boundary_path(&self, path: &mut PathBuilder) -> bool
pub fn get_boundary_path(&self, path: &mut Path) -> bool
👎Deprecated since 0.91.0: Use boundary_path()