//#region src/main/djinni-types/sdcCoreCommonGeometry.d.ts interface Point { x: number; y: number; } interface Quadrilateral { topLeft: Point; topRight: Point; bottomRight: Point; bottomLeft: Point; } /** FIXME (marco) this should be part of the bar module instead. */ interface Size2 { width: number; height: number; } interface Rect { origin: Point; size: Size2; } declare enum MeasureUnit { PIXEL = 0, DIP = 1, FRACTION = 2 } interface FloatWithUnit { value: number; unit: MeasureUnit; } interface SizeWithUnit { width: FloatWithUnit; height: FloatWithUnit; } interface SizeWithAspect { size: FloatWithUnit; aspect: number; } declare enum SizingMode { WIDTH_AND_HEIGHT = 0, WIDTH_AND_ASPECT_RATIO = 1, HEIGHT_AND_ASPECT_RATIO = 2, SHORTER_DIMENSION_AND_ASPECT_RATIO = 3 } interface MarginsWithUnit { left: FloatWithUnit; top: FloatWithUnit; right: FloatWithUnit; bottom: FloatWithUnit; } interface PointWithUnit { x: FloatWithUnit; y: FloatWithUnit; } interface SdcCoreCommonGeometry_statics {} //#endregion export { PointWithUnit as a, SdcCoreCommonGeometry_statics as c, SizeWithUnit as d, SizingMode as f, Point as i, Size2 as l, MarginsWithUnit as n, Quadrilateral as o, MeasureUnit as r, Rect as s, FloatWithUnit as t, SizeWithAspect as u };