toggle menu
Scale
1.1.0-alpha.5
androidJvm
switch theme
search in API
scale-sampling-decoder
/
com.jvziyaoyao.scale.image.sampling
/
RenderBlock
Render
Block
data
class
RenderBlock
(
var
inBound
:
Boolean
=
false
,
var
inSampleSize
:
Int
=
1
,
var
renderOffset
:
IntOffset
=
IntOffset.Zero
,
var
renderSize
:
IntSize
=
IntSize.Zero
,
var
sliceRect
:
Rect
=
Rect(0, 0, 0, 0)
,
bitmap
:
Bitmap
?
=
null
)
Members
Constructors
Render
Block
Link copied to clipboard
constructor
(
inBound
:
Boolean
=
false
,
inSampleSize
:
Int
=
1
,
renderOffset
:
IntOffset
=
IntOffset.Zero
,
renderSize
:
IntSize
=
IntSize.Zero
,
sliceRect
:
Rect
=
Rect(0, 0, 0, 0)
,
bitmap
:
Bitmap
?
=
null
)
Properties
in
Bound
Link copied to clipboard
var
inBound
:
Boolean
in
Sample
Size
Link copied to clipboard
var
inSampleSize
:
Int
render
Offset
Link copied to clipboard
var
renderOffset
:
IntOffset
render
Size
Link copied to clipboard
var
renderSize
:
IntSize
slice
Rect
Link copied to clipboard
var
sliceRect
:
Rect
Functions
get
Bitmap
Link copied to clipboard
fun
getBitmap
(
)
:
Bitmap
?
release
Link copied to clipboard
fun
release
(
)
set
Bitmap
Link copied to clipboard
fun
setBitmap
(
bitmap
:
Bitmap
)