pub type Area = Rect<f32, Measure>;
Aliased Type§
struct Area {
pub origin: Point2D<f32, Measure>,
pub size: Size2D<f32, Measure>,
}
Fields§
§origin: Point2D<f32, Measure>
§size: Size2D<f32, Measure>
Trait Implementations§
source§impl AreaModel for Area
impl AreaModel for Area
source§fn after_gaps(&self, margin: &Gaps) -> Area
fn after_gaps(&self, margin: &Gaps) -> Area
Get the area inside after including the gaps (margins or paddings)
source§fn move_with_offsets(&mut self, offset_x: &Length, offset_y: &Length)
fn move_with_offsets(&mut self, offset_x: &Length, offset_y: &Length)
Get the area inside after including the gaps (margins or paddings)