https://legytma.com.br/schema/decoration_image.schema.json#/properties/image
Created by Windol [email protected] at 29/04/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | box_decoration.schema.json* |
object
(Decoration Image)
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
image | object |
Optional | cannot be null | Decoration Image |
alignment | string |
Optional | cannot be null | Decoration Image |
centerSlice | object |
Optional | cannot be null | Decoration Image |
colorFilter | object |
Optional | cannot be null | Decoration Image |
fit | string |
Optional | cannot be null | Decoration Image |
matchTextDirection | boolean |
Optional | cannot be null | Decoration Image |
repeat | string |
Optional | cannot be null | Decoration Image |
Created by Windol [email protected] at 30/04/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
image
object
(Image Provider Dynamic)object
(Image Provider Dynamic)
Determine the alignment
Used to identify parser. Every parser can permit only one type
alignment
string
(Alignment)string
(Alignment)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"topLeft" |
|
"topCenter" |
|
"topRight" |
|
"centerLeft" |
|
"center" |
|
"centerRight" |
|
"bottomLeft" |
|
"bottomCenter" |
|
"bottomRight" |
The default value is:
"center"
"topLeft"
"topCenter"
"topRight"
"centerLeft"
"center"
"centerRight"
"bottomLeft"
"bottomCenter"
"bottomRight"
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
centerSlice
object
(Rect)object
(Rect)
Created by Windol [email protected] at 29/04/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
colorFilter
object
(Color Filter)object
(Color Filter)
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
fit
string
(Box Fit)string
(Box Fit)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"fill" |
|
"contain" |
|
"cover" |
|
"fitWidth" |
|
"fitHeight" |
|
"none" |
|
"scaleDown" |
Define the representation of boolean acceptable.
Used to identify parser. Every parser can permit only one type
matchTextDirection
boolean
(Boolean)boolean
(Boolean)
The default value is:
true
true
false
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
repeat
string
(Image Repeat)string
(Image Repeat)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"repeat" |
|
"repeatX" |
|
"repeatY" |
|
"noRepeat" |
The default value is:
"noRepeat"