MCPcopy Create free account
hub / github.com/PerroEngine/Perro / path

Method path

perro_source/core/perro_structs/src/structs/structs_2d/draw_2d.rs:115–121  ·  view source on GitHub ↗
(points: impl Into<Arc<[Vector2]>>, color: Color, thickness: f32)

Source from the content-addressed store, hash-verified

113
114 #[inline]
115 pub fn path(points: impl Into<Arc<[Vector2]>>, color: Color, thickness: f32) -> Self {
116 Self::Path {
117 points: points.into(),
118 color,
119 thickness,
120 }
121 }
122
123 #[inline]
124 pub const fn sprite(texture: TextureID, size: Vector2, tint: Color) -> Self {

Callers 15

derive_state_field_enumFunction · 0.45
take_default_exprFunction · 0.45
resolve_compiled_dylibFunction · 0.45
collect_csv_pathsFunction · 0.45
walk_dirFunction · 0.45
walk_dirFunction · 0.45
collect_suffix_matchesFunction · 0.45
reload_dlc_mountsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected