Struct ringraphics::Circle [−][src]
Fields
center: Pnt2
radius: f32
Methods
impl Circle
[src]
impl Circle
pub fn to_mesh(self, resolution: u32) -> Mesh<Vec2>
[src]
pub fn to_mesh(self, resolution: u32) -> Mesh<Vec2>
pub fn to_outline(self, resolution: u32) -> Mesh<Vec2>
[src]
pub fn to_outline(self, resolution: u32) -> Mesh<Vec2>
pub fn to_mesh_color<C: ToRgba>(
self,
color: &C,
resolution: u32
) -> Mesh<Vertex2DColor>
[src]
pub fn to_mesh_color<C: ToRgba>(
self,
color: &C,
resolution: u32
) -> Mesh<Vertex2DColor>
pub fn to_outline_color<C: ToRgba>(
self,
color: &C,
resolution: u32
) -> Mesh<Vertex2DColor>
[src]
pub fn to_outline_color<C: ToRgba>(
self,
color: &C,
resolution: u32
) -> Mesh<Vertex2DColor>
pub fn to_mesh_texcoords(self, resolution: u32) -> Mesh<Vertex2DTex>
[src]
pub fn to_mesh_texcoords(self, resolution: u32) -> Mesh<Vertex2DTex>
Trait Implementations
impl Debug for Circle
[src]
impl Debug for Circle
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Circle
[src]
impl Clone for Circle