addMargin
|
open fun addMargin(margin: Float): MultiRect!
open fun addMargin(marginX: Float, marginY: Float): MultiRect!
open fun addMargin(marginLeft: Float, marginTop: Float, marginRight: Float, marginBottom: Float): MultiRect! |
calculateAspect
|
open fun calculateAspect(): Double |
ceilToMultiOf8
|
open static fun ceilToMultiOf8(number: Int): Int |
flipHorizontal
|
open fun flipHorizontal(): Unit |
flipVertical
|
open fun flipVertical(): Unit |
forcedRecycle
|
open fun forcedRecycle(): Unit |
generateCenteredRect
|
open static fun generateCenteredRect(output: MultiRect!, imageWidth: Double, imageHeight: Double, bounds: MultiRect!): MultiRect!
open static fun generateCenteredRect(imageWidth: Double, imageHeight: Double, bounds: MultiRect!): MultiRect!
open static fun generateCenteredRect(imageWidth: Double, imageHeight: Double, viewWidth: Double, viewHeight: Double): MultiRect!
open static fun generateCenteredRect(output: MultiRect!, imageWidth: Double, imageHeight: Double, viewWidth: Double, viewHeight: Double): MultiRect!
open 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.
|
getAspect
|
open fun getAspect(): Double |
getBottom
|
open fun getBottom(): Float |
getEdgePos
|
open fun getEdgePos(edge: RectEdge!): FloatArray! |
getEdges
|
open fun getEdges(shape: FloatArray!): MultiRect!
open static fun getEdges(rect: Rect!): FloatArray!
open static fun getEdges(rect: RectF!): FloatArray!
open static fun getEdges(rect: Rect!, shape: FloatArray!): Unit
open static fun getEdges(rect: RectF!, shape: FloatArray!): Unit |
getHeight
|
open fun getHeight(): Float |
getLeft
|
open fun getLeft(): Float |
getOrigenAndSizeRoundend
|
open fun getOrigenAndSizeRoundend(): Rect! |
getRight
|
open fun getRight(): Float |
getRounded
|
open fun getRounded(): Rect! |
getRoundOut
|
open fun getRoundOut(): Rect! |
getTop
|
open fun getTop(): Float |
getWidth
|
open fun getWidth(): Float |
hasFixedAspectRation
|
open fun hasFixedAspectRation(): Boolean |
inset
|
open fun inset(dx: Float, dy: Float): Unit |
intersect
|
open fun intersect(r: RectF!): Boolean
open fun intersect(left: Float, top: Float, right: Float, bottom: Float): Boolean |
iSetCenter
|
open fun iSetCenter(x: Float, y: Float): MultiRect! |
isFinite
|
open static fun isFinite(f: Float): Boolean |
obtain
|
open static fun obtain(left: Int, top: Int, right: Int, bottom: Int): MultiRect!
open static fun obtain(left: Float, top: Float, right: Float, bottom: Float): MultiRect!
open static fun obtain(r: MultiRect!): MultiRect!
open static fun obtain(r: RectF!): MultiRect!
open static fun obtain(r: Rect!): MultiRect!
open static fun obtain(): MultiRect! |
obtainEmpty
|
open static fun obtainEmpty(): MultiRect! |
offset
|
open fun offset(dx: Float, dy: Float): Unit |
offsetTo
|
open fun offsetTo(newLeft: Float, newTop: Float): Unit |
permanent
|
open static fun permanent(): MultiRect!
open static fun permanent(left: Float, top: Float, right: Float, bottom: Float): MultiRect!
open static fun permanent(r: MultiRect!): MultiRect!
open static fun permanent(r: RectF!): MultiRect!
open static fun permanent(r: Rect!): MultiRect! |
readFromParcel
|
open fun readFromParcel(in: Parcel!): Unit |
recycle
|
open fun recycle(): Unit |
rounded
|
open static fun rounded(left: Float, top: Float, right: Float, bottom: Float): Rect! |
roundOut
|
open static fun roundOut(left: Float, top: Float, right: Float, bottom: Float): Rect! |
roundValues
|
open fun roundValues(): Unit |
sampleSize
|
open fun sampleSize(sample: Float): MultiRect! |
scaleCentered
|
open fun scaleCentered(scale: Float): MultiRect!
open fun scaleCentered(scaleX: Float, scaleY: Float): MultiRect! |
scaleSize
|
open fun scaleSize(scaleX: Float, scaleY: Float): MultiRect!
open fun scaleSize(scale: Float): MultiRect! |
scaleWidth
|
open fun scaleWidth(width: Float): Unit |
set
|
open fun set(left: Float, top: Float, right: Float, bottom: Float): Unit
open fun set(src: MultiRect!): Unit
open fun set(src: RectF!): Unit
open fun set(src: Rect!): Unit |
setAspect
|
open fun setAspect(aspect: Double): Unit |
setBottom
|
open fun setBottom(bottom: Float): MultiRect! |
setCenter
|
open fun setCenter(x: Float, y: Float): MultiRect! |
setEdgeOffsetTo
|
open fun setEdgeOffsetTo(edge: RectEdge!, pos: FloatArray!): MultiRect!
open fun setEdgeOffsetTo(edge: RectEdge!, x: Float, y: Float): MultiRect! |
setEdgePos
|
open fun setEdgePos(edge: RectEdge!, pos: FloatArray!): MultiRect!
open fun setEdgePos(edge: RectEdge!, x: Float, y: Float): MultiRect! |
setEmpty
|
open fun setEmpty(): Unit |
setFixedAspectRation
|
open fun setFixedAspectRation(fixedAspectRation: Double): MultiRect!
open fun setFixedAspectRation(fixedAspectRation: BigDecimal!): MultiRect! |
setHeight
|
open fun setHeight(height: Float): Unit |
setIntersect
|
open fun setIntersect(a: RectF!, b: RectF!): Boolean |
setLeft
|
open fun setLeft(left: Float): MultiRect! |
setLimits
|
open fun setLimits(maxLimits: RectF!): MultiRect!
open fun setLimits(maxLimits: RectF!, fixedEdge: RectEdge!): MultiRect!
open fun setLimits(maxLimits: Rect!): MultiRect! |
setMinSize
|
open fun setMinSize(minSize: Float): MultiRect! |
setMinSizeUnlimited
|
open fun setMinSizeUnlimited(): MultiRect! |
setRight
|
open fun setRight(right: Float): MultiRect! |
setSize
|
open fun setSize(height: Float, width: Float): Unit |
setTop
|
open fun setTop(top: Float): MultiRect! |
setWidth
|
open fun setWidth(width: Float): Unit |
sort
|
open fun sort(): Unit |
toShape
|
open fun toShape(): FloatArray! |
union
|
open fun union(left: Float, top: Float, right: Float, bottom: Float): Unit
open fun union(r: RectF!): Unit
open fun union(x: Float, y: Float): Unit |