[][src]Type Definition draw::Position

type Position = Point2<f32>;

An alias for float positioning. Note that SVGs look crisper when objects are positioned on integer bounds, so you may just want to stick to whole numbers. A more advanced version of this library would just directly use Point2<T>, but I decided to prioritze readability. We may want to revist that at some point. todo: I disagree with myself. Let consumers handle this.