toggle menu
OpenSRP
androidJvm
switch theme
search in API
engine
/
org.smartregister.fhircore.engine.configuration.navigation
/
ImageConfig
Image
Config
@
Serializable
data
class
ImageConfig
(
var
type
:
String
=
ICON_TYPE_LOCAL
,
val
reference
:
String
?
=
null
,
val
color
:
String
?
=
null
,
val
alpha
:
Float
=
1.0f
,
val
imageType
:
ImageType
=
ImageType.SVG
,
val
contentScale
:
ContentScaleType
=
ContentScaleType.FIT
)
:
Parcelable
,
Serializable
Members
Constructors
Image
Config
Link copied to clipboard
constructor
(
type
:
String
=
ICON_TYPE_LOCAL
,
reference
:
String
?
=
null
,
color
:
String
?
=
null
,
alpha
:
Float
=
1.0f
,
imageType
:
ImageType
=
ImageType.SVG
,
contentScale
:
ContentScaleType
=
ContentScaleType.FIT
)
Properties
alpha
Link copied to clipboard
val
alpha
:
Float
=
1.0f
color
Link copied to clipboard
val
color
:
String
?
=
null
content
Scale
Link copied to clipboard
val
contentScale
:
ContentScaleType
image
Type
Link copied to clipboard
val
imageType
:
ImageType
reference
Link copied to clipboard
val
reference
:
String
?
=
null
type
Link copied to clipboard
var
type
:
String
Functions
describe
Contents
Link copied to clipboard
abstract
fun
describeContents
(
)
:
Int
interpolate
Link copied to clipboard
fun
interpolate
(
computedValuesMap
:
Map
<
String
,
Any
>
)
:
ImageConfig
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)