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

Method with_transform

src/plot_overlay.rs:56–59  ·  view source on GitHub ↗

Set how the overlay anchor position is transformed before placement.

(mut self, transform: PositionTransform)

Source from the content-addressed store, hash-verified

54
55 /// Set how the overlay anchor position is transformed before placement.
56 pub fn with_transform(mut self, transform: PositionTransform) -> Self {
57 self.anchor_position_transform = transform;
58 self
59 }
60
61 /// Transform the x coordinate of the overlay anchor.
62 pub fn with_transform_x(mut self, transform: Transform) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected