Trait sfml::graphics::CustomShapePoints
source · [−]pub trait CustomShapePoints {
fn point_count(&self) -> u32;
fn point(&self, point: u32) -> Vector2f;
}
Expand description
The points of a custom shape.
Required Methods
sourcefn point_count(&self) -> u32
fn point_count(&self) -> u32
Gets the total count of points.
Return the points count