Skip to main content

ImgProps

                            
                              
                                interface 
                                ImgProps
                                extends 
                                
                                  
                                    
                                      RectProps
                                    
                                  
                                
                              
                              

Extended by

  • IconProps
  • LatexProps

Properties

alignContent

Inherited from RectProps.alignContent

alignItems

Inherited from RectProps.alignItems

alignSelf

Inherited from RectProps.alignSelf

alpha

                            
                              
                                alpha
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              

antialiased

Inherited from RectProps.antialiased

basis

Inherited from RectProps.basis

cache

                            
                              
                                cache
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      boolean
                                    
                                  
                                
                              
                              
Inherited from RectProps.cache

children

Inherited from RectProps.children

clip

                            
                              
                                clip
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      boolean
                                    
                                  
                                
                              
                              
Inherited from RectProps.clip

columnGap

Inherited from RectProps.columnGap

composite

                            
                              
                                composite
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      boolean
                                    
                                  
                                
                              
                              
Inherited from RectProps.composite

compositeOperation

                            
                              
                                compositeOperation
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      GlobalCompositeOperation
                                    
                                  
                                
                              
                              
Inherited from RectProps.compositeOperation

cornerSharpness

Controls the sharpness of the corners. smoothCorners mustbe set to true .

By default the cornerSharpness is set to 0.6 which represents smooth,circle-like rounding. At 0 the edges are squared off.

Inherited from RectProps.cornerSharpness

direction

Inherited from RectProps.direction

fill

Inherited from RectProps.fill

filters

                            
                              
                                filters
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      Filter
                                      []
                                    
                                  
                                
                              
                              
Inherited from RectProps.filters

fontFamily

Inherited from RectProps.fontFamily

fontSize

                            
                              
                                fontSize
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.fontSize

fontStyle

Inherited from RectProps.fontStyle

fontWeight

Inherited from RectProps.fontWeight

gap

Inherited from RectProps.gap

grow

                            
                              
                                grow
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.grow

height

Inherited from RectProps.height

justifyContent

Inherited from RectProps.justifyContent

key

                            
                              
                                key
                                ?: 
                                string
                              
                              
Inherited from RectProps.key

layout

Inherited from RectProps.layout

letterSpacing

Inherited from RectProps.letterSpacing

lineCap

                            
                              
                                lineCap
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      CanvasLineCap
                                    
                                  
                                
                              
                              
Inherited from RectProps.lineCap

lineDash

                            
                              
                                lineDash
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                                []
                              
                              
Inherited from RectProps.lineDash

lineDashOffset

Inherited from RectProps.lineDashOffset

lineHeight

Inherited from RectProps.lineHeight

lineJoin

                            
                              
                                lineJoin
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      CanvasLineJoin
                                    
                                  
                                
                              
                              
Inherited from RectProps.lineJoin

lineWidth

Inherited from RectProps.lineWidth

margin

Inherited from RectProps.margin

marginBottom

Inherited from RectProps.marginBottom

marginLeft

Inherited from RectProps.marginLeft

marginRight

Inherited from RectProps.marginRight

marginTop

Inherited from RectProps.marginTop

maxHeight

Inherited from RectProps.maxHeight

maxWidth

Inherited from RectProps.maxWidth

minHeight

Inherited from RectProps.minHeight

minWidth

Inherited from RectProps.minWidth

offset

Inherited from RectProps.offset

offsetX

                            
                              
                                offsetX
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.offsetX

offsetY

                            
                              
                                offsetY
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.offsetY

opacity

                            
                              
                                opacity
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.opacity

padding

Inherited from RectProps.padding

paddingBottom

Inherited from RectProps.paddingBottom

paddingLeft

Inherited from RectProps.paddingLeft

paddingRight

Inherited from RectProps.paddingRight

paddingTop

Inherited from RectProps.paddingTop

position

Inherited from RectProps.position

radius

Inherited from RectProps.radius

ratio

                            
                              
                                ratio
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.ratio

ref

                            
                              
                                ref
                                ?: 
                                ReferenceReceiver
                                
                                  
                                    
                                      any
                                    
                                  
                                
                              
                              
Inherited from RectProps.ref

rotation

                            
                              
                                rotation
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.rotation

rowGap

Inherited from RectProps.rowGap

scale

Inherited from RectProps.scale

scaleX

                            
                              
                                scaleX
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.scaleX

scaleY

                            
                              
                                scaleY
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.scaleY

shadowBlur

Inherited from RectProps.shadowBlur

shadowColor

Inherited from RectProps.shadowColor

shadowOffset

Inherited from RectProps.shadowOffset

shadowOffsetX

Inherited from RectProps.shadowOffsetX

shadowOffsetY

Inherited from RectProps.shadowOffsetY

shrink

                            
                              
                                shrink
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.shrink

size

Inherited from RectProps.size

smoothCorners

Will set the corner drawing method to smooth corners.

Smooth corners are drawn continuously by a bezìer curves, rather than by aquarter circle.

When smoothCorners is set to true , the sharpness of the curve can becontrolled by the cornerSharpness .

Inherited from RectProps.smoothCorners

smoothing

                            
                              
                                smoothing
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      boolean
                                    
                                  
                                
                              
                              

spawner

                            
                              
                                spawner
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      Node
                                      []
                                    
                                  
                                
                              
                              
Inherited from RectProps.spawner

src

                            
                              
                                src
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      string
                                    
                                  
                                
                              
                              

stroke

Inherited from RectProps.stroke

strokeFirst

Inherited from RectProps.strokeFirst

tagName

                            
                              
                                tagName
                                ?: 
                                keyof 
                                HTMLElementTagNameMap
                              
                              
Inherited from RectProps.tagName

textAlign

                            
                              
                                textAlign
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      CanvasTextAlign
                                    
                                  
                                
                              
                              
Inherited from RectProps.textAlign

textDirection

                            
                              
                                textDirection
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      CanvasDirection
                                    
                                  
                                
                              
                              
Inherited from RectProps.textDirection

textWrap

Inherited from RectProps.textWrap

width

Inherited from RectProps.width

wrap

Inherited from RectProps.wrap

x

                            
                              
                                x
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.x

y

                            
                              
                                y
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.y

zIndex

                            
                              
                                zIndex
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from RectProps.zIndex