getRectForDrawingPlaceholderImage

open fun getRectForDrawingPlaceholderImage(@NonNull placeholderImage: Bitmap, @NonNull targetRect: Rect): Rect

Gets a Rect the placeholder image fits in.

Return

The adjusted rect.

Parameters

placeholderImage

The placeholder image in question.

targetRect

The target rect for the image.