https://schema.legytma.com.br/3.0.0/schema/widget/image.schema.json
Created by Windol [email protected] at 09/05/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 | Yes | Unknown status | No | Forbidden | Allowed | none | image.schema.json |
object (Image)
all of
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| type | string |
Optional | cannot be null | Image |
| imageType | string |
Required | cannot be null | Image |
| frameBuilder | Multiple | Optional | can be null | Image |
| semanticLabel | string |
Optional | cannot be null | Image |
| excludeFromSemantics | boolean |
Optional | cannot be null | Image |
| width | Merged | Optional | cannot be null | Image |
| height | Merged | Optional | cannot be null | Image |
| color | Merged | Optional | cannot be null | Image |
| blendMode | string |
Optional | cannot be null | Image |
| boxFit | string |
Optional | cannot be null | Image |
| alignment | Multiple | Optional | can be null | Image |
| repeat | string |
Optional | cannot be null | Image |
| centerSlice | object |
Optional | cannot be null | Image |
| matchTextDirection | boolean |
Optional | cannot be null | Image |
| gaplessPlayback | boolean |
Optional | cannot be null | Image |
| filterQuality | string |
Optional | cannot be null | Image |
Identify the widget type
Used to identify parser. Every parser can permit only one type
type
string (Type)
constant: the value of this property must be equal to:
"Image"
imageType
string (Image Type)string (Image Type)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"asset" |
|
"network" |
|
"file" |
|
"memory" |
|
"default" |
Created by Windol [email protected] at 15/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
frameBuilder
array or boolean or integer or number or object or string (Dynamic)any of the folllowing: array or boolean or integer or number or object or string (Dynamic)
The default value is:
"unbounded"
semanticLabel
string (Semantic Label)string (Semantic Label)
Define the representation of boolean acceptable.
Used to identify parser. Every parser can permit only one type
excludeFromSemantics
boolean (Boolean)
The default value is:
true
true
false
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
width
merged type (Double)
one (and only one) of
maximum: the value of this number must smaller than or equal to: 1
minimum: the value of this number must greater than or equal to: 0
The default value is:
1
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
height
merged type (Double)
one (and only one) of
maximum: the value of this number must smaller than or equal to: 1
minimum: the value of this number must greater than or equal to: 0
The default value is:
1
A number in format string or integer
Used to identify parser. Every parser can permit only one type
color
merged type (Color)
all of
The default value is:
"0xFF000000"
"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295
Created by Windol [email protected] at 29/04/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
blendMode
string (Blend Mode)string (Blend Mode)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"color" |
|
"clear" |
|
"colorBurn" |
|
"colorDodge" |
|
"darken" |
|
"difference" |
|
"dst" |
|
"dstATop" |
|
"dstIn" |
|
"dstOut" |
|
"dstOver" |
|
"exclusion" |
|
"hardLight" |
|
"hue" |
|
"lighten" |
|
"luminosity" |
|
"modulate" |
|
"multiply" |
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
boxFit
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" |
The default value is:
"contain"
Created by Windol [email protected] at 15/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
alignment
array or boolean or integer or number or object or string (Dynamic)any of the folllowing: array or boolean or integer or number or object or string (Dynamic)
The default value is:
"unbounded"
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"
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)
Define the representation of boolean acceptable.
Used to identify parser. Every parser can permit only one type
matchTextDirection
boolean (Boolean)
The default value is:
true
true
false
Define the representation of boolean acceptable.
Used to identify parser. Every parser can permit only one type
gaplessPlayback
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.
filterQuality
string (Filter Quality)string (Filter Quality)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"none" |
|
"low" |
|
"medium" |
|
"high" |
The default value is:
"low"
Reference this group by using
{"$ref":"https://schema.legytma.com.br/3.0.0/schema/widget/image.schema.json#/definitions/imageType"}
| Property | Type | Required | Nullable | Defined by | | :——- | —- | ——– | ——– | :——— |