addMargin
|
fun addMargin(margin: float): MultiRect
fun addMargin(marginX: float, marginY: float): MultiRect
fun addMargin(marginLeft: float, marginTop: float, marginRight: float, marginBottom: float): MultiRect |
calculateAspect
|
fun calculateAspect(): double |
ceilToMultiOf8
|
static fun ceilToMultiOf8(number: int): int |
finalize
|
fun finalize(): void |
flipHorizontal
|
fun flipHorizontal(): void |
flipVertical
|
fun flipVertical(): void |
forcedRecycle
|
fun forcedRecycle(): void |
generateCenteredRect
|
static fun generateCenteredRect(output: MultiRect, imageWidth: double, imageHeight: double, bounds: MultiRect): MultiRect
static fun generateCenteredRect(imageWidth: double, imageHeight: double, bounds: MultiRect): MultiRect
static fun generateCenteredRect(imageWidth: double, imageHeight: double, viewWidth: double, viewHeight: double): MultiRect
static fun generateCenteredRect(output: MultiRect, imageWidth: double, imageHeight: double, viewWidth: double, viewHeight: double): MultiRect
static fun generateCenteredRect(output: MultiRect, imageWidth: double, imageHeight: double, viewWidth: double, viewHeight: double, fitInside: boolean): MultiRect
Gets the rectangular position of a Bitmap if it were placed inside a View with scale type set to ImageView.ScaleType.
|
getAlsoRecyclable
|
fun getAlsoRecyclable(): Recyclable |
getAspect
|
fun getAspect(): double |
getBottom
|
fun getBottom(): float |
getEdgePos
|
fun getEdgePos(edge: ly.img.android.pesdk.backend.model.constant.RectEdge): kotlin.Array<float> |
getEdgePosX
|
fun getEdgePosX(edge: ly.img.android.pesdk.backend.model.constant.RectEdge): float |
getEdgePosY
|
fun getEdgePosY(edge: ly.img.android.pesdk.backend.model.constant.RectEdge): float |
getEdges
|
static fun getEdges(rect: Rect): kotlin.Array<float>
static fun getEdges(rect: RectF): kotlin.Array<float>
static fun getEdges(rect: Rect, shape: kotlin.Array<float>): void
static fun getEdges(rect: RectF, shape: kotlin.Array<float>): void
fun getEdges(shape: kotlin.Array<float>): MultiRect
fun getEdges(shape: kotlin.Array<float>, doFlip: boolean): MultiRect
fun getEdges(shape: kotlin.Array<float>, doFlip: boolean, rotation: int): MultiRect |
getHeight
|
fun getHeight(): float |
getLeft
|
fun getLeft(): float |
getRight
|
fun getRight(): float |
getTop
|
fun getTop(): float |
getWidth
|
fun getWidth(): float |
hasFixedAspectRation
|
fun hasFixedAspectRation(): boolean |
inset
|
fun inset(dx: float, dy: float): void |
intersect
|
fun intersect(r: RectF): boolean
fun intersect(left: float, top: float, right: float, bottom: float): boolean |
iSetCenter
|
fun iSetCenter(x: float, y: float): MultiRect |
isNotEmpty
|
fun isNotEmpty(): boolean |
itIntersects
|
fun itIntersects(rect: MultiRect): boolean
fun itIntersects(left: float, top: float, right: float, bottom: float): boolean |
mapRectWith
|
fun mapRectWith(transformation: Transformation): MultiRect |
obtain
|
static fun obtain(left: int, top: int, right: int, bottom: int): MultiRect
static fun obtain(left: float, top: float, right: float, bottom: float): MultiRect
static fun obtain(r: MultiRect): MultiRect
static fun obtain(r: RectF): MultiRect
static fun obtain(r: Rect): MultiRect
static fun obtain(): MultiRect |
obtainEmpty
|
static fun obtainEmpty(): MultiRect |
obtainIn
|
static fun obtainIn(mark: RecyclerMark, r: Rect): MultiRect
static fun obtainIn(mark: RecyclerMark, r: RectF): MultiRect
static fun obtainIn(mark: RecyclerMark, r: MultiRect): MultiRect
static fun obtainIn(mark: RecyclerMark, left: int, top: int, right: int, bottom: int): MultiRect
static fun obtainIn(mark: RecyclerMark, left: float, top: float, right: float, bottom: float): MultiRect
static fun obtainIn(mark: RecyclerMark): MultiRect |
obtainOrigenAndSizeRoundend
|
fun obtainOrigenAndSizeRoundend(): Rect |
obtainRounded
|
fun obtainRounded(): Rect |
obtainRoundedIn
|
fun obtainRoundedIn(pool: RecyclerMark): Rect |
obtainRoundedMultiRect
|
fun obtainRoundedMultiRect(): MultiRect |
obtainRoundOut
|
fun obtainRoundOut(): Rect |
obtainRoundOutMultiRect
|
fun obtainRoundOutMultiRect(): MultiRect |
offset
|
fun offset(dx: float, dy: float): void |
offsetTo
|
fun offsetTo(newLeft: float, newTop: float): void |
onRecycle
|
fun onRecycle(): void |
permanent
|
static fun permanent(): MultiRect
static fun permanent(left: float, top: float, right: float, bottom: float): MultiRect
static fun permanent(r: MultiRect): MultiRect
static fun permanent(r: RectF): MultiRect
static fun permanent(r: Rect): MultiRect |
readFromParcel
|
fun readFromParcel(in: Parcel): void |
recycle
|
fun recycle(): void |
reset
|
fun reset(): void |
round
|
fun round(): void |
rounded
|
static fun rounded(left: float, top: float, right: float, bottom: float): Rect |
roundOut
|
static fun roundOut(left: float, top: float, right: float, bottom: float): Rect
fun roundOut(): void |
roundValues
|
fun roundValues(): void |
sampleSize
|
fun sampleSize(sample: float): MultiRect |
scaleCentered
|
fun scaleCentered(scale: float): MultiRect
fun scaleCentered(scaleX: float, scaleY: float): MultiRect |
scaleSize
|
fun scaleSize(scaleX: float, scaleY: float): MultiRect
fun scaleSize(scale: float): MultiRect |
scaleWidth
|
fun scaleWidth(width: float): void |
set
|
fun set(left: int, top: int, right: int, bottom: int): void
fun set(left: float, top: float, right: float, bottom: float): void
fun set(src: MultiRect): void
fun set(src: RectF): void
fun set(src: Rect): void |
setAlsoRecyclable
|
fun setAlsoRecyclable(recyclable: Recyclable): void |
setAspect
|
fun setAspect(aspect: double): void |
setBottom
|
fun setBottom(bottom: float): MultiRect |
setCenter
|
fun setCenter(x: float, y: float): MultiRect |
setEdgeOffsetTo
|
fun setEdgeOffsetTo(edge: ly.img.android.pesdk.backend.model.constant.RectEdge, pos: kotlin.Array<float>): MultiRect
fun setEdgeOffsetTo(edge: ly.img.android.pesdk.backend.model.constant.RectEdge, x: float, y: float): MultiRect |
setEdgePos
|
fun setEdgePos(edge: ly.img.android.pesdk.backend.model.constant.RectEdge, pos: kotlin.Array<float>): MultiRect
fun setEdgePos(edge: ly.img.android.pesdk.backend.model.constant.RectEdge, x: float, y: float): MultiRect |
setEmpty
|
fun setEmpty(): void |
setFixedAspectRation
|
fun setFixedAspectRation(fixedAspectRation: double): MultiRect
fun setFixedAspectRation(fixedAspectRation: java.math.BigDecimal): MultiRect |
setHeight
|
fun setHeight(height: float): void |
setIntersect
|
fun setIntersect(a: RectF, b: RectF): boolean |
setLeft
|
fun setLeft(left: float): MultiRect |
setLimits
|
fun setLimits(maxLimits: RectF): MultiRect
fun setLimits(maxLimits: RectF, fixedEdge: ly.img.android.pesdk.backend.model.constant.RectEdge): MultiRect
fun setLimits(maxLimits: Rect): MultiRect |
setMinSize
|
fun setMinSize(minSize: float): MultiRect |
setMinSizeUnlimited
|
fun setMinSizeUnlimited(): MultiRect |
setRight
|
fun setRight(right: float): MultiRect |
setSize
|
fun setSize(height: float, width: float, edge: ly.img.android.pesdk.backend.model.constant.RectEdge): void
fun setSize(height: float, width: float): void |
setTop
|
fun setTop(top: float): MultiRect |
setWidth
|
fun setWidth(width: float): void |
sort
|
fun sort(): void |
toShape
|
fun toShape(shape: kotlin.Array<float>): void
fun toShape(): kotlin.Array<float> |
union
|
fun union(left: float, top: float, right: float, bottom: float): void
fun union(r: RectF): void
fun union(x: float, y: float): void |