MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / with_transform_y

Method with_transform_y

src/plot_overlay.rs:68–71  ·  view source on GitHub ↗

Transform the y coordinate of the overlay anchor.

(mut self, transform: Transform)

Source from the content-addressed store, hash-verified

66
67 /// Transform the y coordinate of the overlay anchor.
68 pub fn with_transform_y(mut self, transform: Transform) -> Self {
69 self.anchor_position_transform.y = Some(transform);
70 self
71 }
72
73 /// Interpret the overlay anchor as normalized plot coordinates.
74 pub fn with_axes_transform(mut self) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected