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

Method with_transform_x

src/plot_overlay.rs:62–65  ·  view source on GitHub ↗

Transform the x coordinate of the overlay anchor.

(mut self, transform: Transform)

Source from the content-addressed store, hash-verified

60
61 /// Transform the x coordinate of the overlay anchor.
62 pub fn with_transform_x(mut self, transform: Transform) -> Self {
63 self.anchor_position_transform.x = Some(transform);
64 self
65 }
66
67 /// Transform the y coordinate of the overlay anchor.
68 pub fn with_transform_y(mut self, transform: Transform) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected