renetik-android
Toggle table of contents
release
Target filter
release
Switch theme
Search in API
Skip to content
renetik-android
renetik-android-core
/
renetik.android.core.android.graphics
Package-level
declarations
CSColor
and color helpers for converting, blending and applying alpha.
Types
Functions
Properties
Types
CSColor
Link copied to clipboard
data
class
CSColor
(
@
ColorInt
val
color
:
Int
)
:
CSHasId
CSMaterial
Color
Link copied to clipboard
data
class
CSMaterialColor
(
val
title
:
String
,
val
hex
:
String
)
Properties
alpha
Int
Link copied to clipboard
val
Float
.
alphaInt
:
Int
darken
Link copied to clipboard
@get:
ColorInt
val
Int
.
darken
:
Int
darken
More
Link copied to clipboard
@get:
ColorInt
val
Int
.
darkenMore
:
Int
debug
String
Link copied to clipboard
val
Rect
.
debugString
:
String
height
Link copied to clipboard
val
Rect
.
height
:
Int
width
Link copied to clipboard
val
Rect
.
width
:
Int
Functions
clear
Link copied to clipboard
inline
fun
Rect
.
clear
(
)
clone
Link copied to clipboard
inline
fun
Paint
.
clone
(
function
:
Paint
.
(
)
->
Unit
)
:
Paint
contains
Link copied to clipboard
inline operator
fun
Rect
?
.
contains
(
p
:
Point
)
:
Boolean
copy
Link copied to clipboard
inline
fun
Rect
.
copy
(
)
:
Rect
line
Link copied to clipboard
fun
Canvas
.
line
(
startX
:
Float
,
startY
:
Float
,
stopX
:
Float
,
stopY
:
Float
,
paint
:
Paint
)
load
Link copied to clipboard
inline
fun
Rect
.
load
(
start
:
CSPoint
<
Float
>
,
end
:
CSPoint
<
Float
>
)
:
Rect
offset
To
New
Bottom
Link copied to clipboard
inline
fun
Rect
.
offsetToNewBottom
(
value
:
Int
)
offset
To
New
Left
Link copied to clipboard
inline
fun
Rect
.
offsetToNewLeft
(
value
:
Int
)
offset
To
New
Right
Link copied to clipboard
inline
fun
Rect
.
offsetToNewRight
(
value
:
Int
)
offset
To
New
Top
Link copied to clipboard
inline
fun
Rect
.
offsetToNewTop
(
value
:
Int
)
Paint
Link copied to clipboard
inline
fun
Paint
(
function
:
Paint
.
(
)
->
Unit
)
:
Paint
rect
Link copied to clipboard
fun
Canvas
.
rect
(
left
:
Float
,
top
:
Float
,
right
:
Float
,
bottom
:
Float
,
paint
:
Paint
)
set
Alpha
Link copied to clipboard
fun
Int
.
setAlpha
(
alpha
:
Float
)
:
Int
to
Alpha
Link copied to clipboard
fun
Drawable
.
toAlpha
(
alpha
:
Double
)
:
Drawable