Coordinate system of Display.bounds and Display.workArea
docs: coordinate system of Display.bounds and Display.workArea (#27157)
Coordinate system of Display.bounds and Display.workAreadocscoordinate system display bounds workarea
Committed by jameshfisher
commit message
docs: coordinate system of Display.bounds and Display.workArea (#27157)
They are in DIP points (rather than screen points). We can use
screen.dipToScreen* to convert to screen points.Editor assessment
The subject is a terse noun phrase naming the documented topic, the coordinate system of Display.bounds and Display.workArea, but the body supplies the substance that matters: the values are in DIP points rather than screen points, and screen.dipToScreen* converts between them. That is a genuine unit confusion that has bitten developers, and the message resolves it with a concrete remedy. The docs type fits, no scope is needed, and no footers appear. Hygiene is fine apart from the compressed header. A useful, teaching-oriented docs commit despite its stub-like subject.