toggle menu
Litho
androidJvm
switch theme
search in API
litho-testing
/
com.facebook.litho.testing.shadows
/
ColorDrawableShadow
Color
Drawable
Shadow
@
Implements
(
value
=
ColorDrawable::class
)
open
class
ColorDrawableShadow
:
ShadowDrawable
Shadows a
ColorDrawable
to support of drawing its description on a
Members
Constructors
Color
Drawable
Shadow
Link copied to clipboard
constructor
(
)
Properties
created
From
Res
Id
Link copied to clipboard
open
val
createdFromResId
:
Int
intrinsic
Height
Link copied to clipboard
protected
open
var
intrinsicHeight
:
Int
intrinsic
Width
Link copied to clipboard
protected
open
var
intrinsicWidth
:
Int
Functions
add
Corrupt
Stream
Source
Link copied to clipboard
open
fun
addCorruptStreamSource
(
src
:
String
)
clear
Corrupt
Stream
Sources
Link copied to clipboard
open
fun
clearCorruptStreamSources
(
)
create
From
Resource
Id
Link copied to clipboard
open
fun
createFromResourceId
(
resourceId
:
Int
)
:
Drawable
draw
Link copied to clipboard
@
Implementation
open
fun
draw
(
canvas
:
Canvas
)
get
Input
Stream
Link copied to clipboard
open
fun
getInputStream
(
)
:
InputStream
set
Default
Intrinsic
Height
Link copied to clipboard
open
fun
setDefaultIntrinsicHeight
(
defaultIntrinsicHeight
:
Int
)
set
Default
Intrinsic
Width
Link copied to clipboard
open
fun
setDefaultIntrinsicWidth
(
defaultIntrinsicWidth
:
Int
)
validate
Link copied to clipboard
open
fun
validate
(
)
was
Invalidated
Link copied to clipboard
open
fun
wasInvalidated
(
)
:
Boolean