MCPcopy Create free account
hub / github.com/emilk/egui_plot / Points

Class Points

egui_plot/src/items/points.rs:115–133  ·  view source on GitHub ↗

A set of points.

Source from the content-addressed store, hash-verified

113
114/// A set of points.
115pub struct Points<'a> {
116 base: PlotItemBase,
117
118 pub(crate) series: PlotPoints<'a>,
119
120 pub(crate) shape: MarkerShape,
121
122 /// Color of the marker. `Color32::TRANSPARENT` means that it will be picked
123 /// automatically.
124 pub(crate) color: Color32,
125
126 /// Whether to fill the marker. Does not apply to all types.
127 pub(crate) filled: bool,
128
129 /// The maximum extent of the marker from its center.
130 pub(crate) radius: f32,
131
132 pub(crate) stems: Option<f32>,
133}
134
135impl PlotItem for Points<'_> {
136 fn shapes(&self, _ui: &Ui, transform: &PlotTransform, shapes: &mut Vec<Shape>) {

Callers 4

geometryMethod · 0.85
geometryMethod · 0.85
geometryMethod · 0.85
geometryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected