RectMatrixUtilities

Created by svennahler on 21.08.16.

open class RectMatrixUtilities

Constructors

RectMatrixUtilities
Link copied to clipboard
open fun RectMatrixUtilities(destinationChunk: Rect, chunkCount: Int, transformMatrix: Matrix)
RectMatrixUtilities
Link copied to clipboard
open fun RectMatrixUtilities(destinationChunk: RectF, chunkCount: Int, transformMatrix: Matrix)

Types

BitmapOperation
Link copied to clipboard
abstract class BitmapOperation

Functions

calculateLineIntersectionX
Link copied to clipboard
open fun calculateLineIntersectionX(line: Array<Float>, y: Float): Float
calculateLineIntersectionY
Link copied to clipboard
open fun calculateLineIntersectionY(line: Array<Float>, x: Float): Float
calculateRectShapeIntersection
Link copied to clipboard
open fun calculateRectShapeIntersection(range: RectF, shape: Array<Float>, verticalIntersection: Boolean): Array<Float>
combineChunkRequests
Link copied to clipboard
open fun combineChunkRequests(operation: RectMatrixUtilities.BitmapOperation): Bitmap
open fun combineChunkRequests(out: Bitmap, operation: RectMatrixUtilities.BitmapOperation): Bitmap
createOffsetChunkRect
Link copied to clipboard
open fun createOffsetChunkRect(rect: Rect, rangeRect: Rect, offset: Int): Rect
getInverseCombineMatrix
Link copied to clipboard
open fun getInverseCombineMatrix(): Matrix
getSourceChunks
Link copied to clipboard
open fun getSourceChunks(): Array<Rect>
offsetCutOperation
Link copied to clipboard
open fun offsetCutOperation(rect: Rect, rangeRect: Rect, offset: Int, operation: RectMatrixUtilities.BitmapOperation): Bitmap
rectToShape
Link copied to clipboard
open fun rectToShape(rectF: RectF): Array<Float>
sampledRectSize
Link copied to clipboard
open fun sampledRectSize(rect: Rect, sampleFactor: Float): Rect
open fun sampledRectSize(rect: RectF, sampleFactor: Float): Rect
scaleRectFSize
Link copied to clipboard
open fun scaleRectFSize(rect: RectF, scaleFactor: Float): RectF
scaleRectSize
Link copied to clipboard
open fun scaleRectSize(rect: Rect, scaleFactor: Float): Rect
open fun scaleRectSize(rect: RectF, scaleFactor: Float): Rect

Properties

inverseMatrix
Link copied to clipboard
private open val inverseMatrix: Matrix