Legytma Schemas

Decoration Image Schema

https://legytma.com.br/schema/decoration_image.schema.json

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 decoration_image.schema.json

Decoration Image Type

object (Decoration Image)

Decoration Image Properties

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

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

image Type

object (Image Provider Dynamic)

alignment

Determine the alignment

Used to identify parser. Every parser can permit only one type

alignment

alignment Type

string (Alignment)

alignment Constraints

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"  

alignment Default Value

The default value is:

"center"

alignment Examples

"topLeft"
"topCenter"
"topRight"
"centerLeft"
"center"
"centerRight"
"bottomLeft"
"bottomCenter"
"bottomRight"

centerSlice

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

centerSlice

centerSlice Type

object (Rect)

colorFilter

Created by Windol [email protected] at 29/04/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

colorFilter

colorFilter Type

object (Color Filter)

fit

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

fit

fit Type

string (Box Fit)

fit Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"fill"  
"contain"  
"cover"  
"fitWidth"  
"fitHeight"  
"none"  
"scaleDown"  

fit Default Value

The default value is:

"contain"

matchTextDirection

Define the representation of boolean acceptable.

Used to identify parser. Every parser can permit only one type

matchTextDirection

matchTextDirection Type

boolean (Boolean)

matchTextDirection Default Value

The default value is:

true

matchTextDirection Examples

true
false

repeat

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

repeat

repeat Type

string (Image Repeat)

repeat Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"repeat"  
"repeatX"  
"repeatY"  
"noRepeat"  

repeat Default Value

The default value is:

"noRepeat"