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 |
finalize
|
open fun finalize(): Unit |
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! |
getEdgePosX
|
open fun getEdgePosX(edge: RectEdge!): Float |
getEdgePosY
|
open fun getEdgePosY(edge: RectEdge!): Float |
getEdges
|
open fun getEdges(shape: FloatArray!): MultiRect!
open fun getEdges(shape: FloatArray!, doFlip: Boolean): MultiRect!
open fun getEdges(shape: FloatArray!, doFlip: Boolean, rotation: Int): 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 |
getRight
|
open fun getRight(): Float |
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! |
isNotEmpty
|
open fun isNotEmpty(): Boolean |
itIntersects
|
open fun itIntersects(rect: MultiRect!): Boolean
open fun itIntersects(left: Float, top: Float, right: Float, bottom: Float): Boolean |
mapRectWith
|
open fun mapRectWith(transformation: Transformation!): MultiRect! |
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! |
obtainIn
|
open static fun obtainIn(mark: RecyclerMark!, r: Rect!): MultiRect!
open static fun obtainIn(mark: RecyclerMark!, r: RectF!): MultiRect!
open static fun obtainIn(mark: RecyclerMark!, r: MultiRect!): MultiRect!
open static fun obtainIn(mark: RecyclerMark!, left: Int, top: Int, right: Int, bottom: Int): MultiRect!
open static fun obtainIn(mark: RecyclerMark!, left: Float, top: Float, right: Float, bottom: Float): MultiRect!
open static fun obtainIn(mark: RecyclerMark!): MultiRect! |
obtainOrigenAndSizeRoundend
|
open fun obtainOrigenAndSizeRoundend(): Rect! |
obtainRounded
|
open fun obtainRounded(): Rect! |
obtainRoundedIn
|
open fun obtainRoundedIn(pool: RecyclerMark!): Rect! |
obtainRoundedMultiRect
|
open fun obtainRoundedMultiRect(): MultiRect! |
obtainRoundOut
|
open fun obtainRoundOut(): Rect! |
obtainRoundOutMultiRect
|
open fun obtainRoundOutMultiRect(): MultiRect! |
offset
|
open fun offset(dx: Float, dy: Float): Unit |
offsetTo
|
open fun offsetTo(newLeft: Float, newTop: Float): Unit |
onRecycle
|
open fun onRecycle(): 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 |
reset
|
open fun reset(): Unit |
round
|
open fun round(): Unit |
rounded
|
open static fun rounded(left: Float, top: Float, right: Float, bottom: Float): Rect! |
roundOut
|
open fun roundOut(): Unit
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: Int, top: Int, right: Int, bottom: Int): Unit
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, edge: RectEdge!): Unit
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(shape: FloatArray!): Unit
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 |