OverlayLayoutParams

constructor(@NonNull pageRect: PageRect, @NonNull sizingMode: OverlayLayoutParams.SizingMode)

Height and width are standard LayoutParams values (i.e. pixels or size constants).

Parameters

pageRect

holding the PDF and display coordinates of the view.

sizingMode

defines the coordinate space used for layouting.


constructor(@NonNull pageRect: RectF, sizingMode: OverlayLayoutParams.SizingMode)

Parameters

pageRect

holding the PDF and display coordinates of the view.

sizingMode

defines the coordinate space used for layouting.


constructor()

Creates params with an empty pageRect (i.e. equal to [0,0-0,0]) and sizingMode set to LAYOUT.