Rectangle
Rectangle
The Rectangle in Incari provides similar functionality as its equivalent in Figma.

There are several Attributes which allow the user heightened customizability and control.
Attributes
Object

Besides Name, Type, and Opacity, which appear for every Object in Incari, the Object Attributes include Blend Mode.
This Attribute lets the user set a Blend Mode as a base property of the Rectangle. These are established on common formulas, examples of each can be accessed here. An Object's Blend Mode can also be set with the Set Blend Mode Node.
Transformation

The Transformation Attributes deal with placement, rotation, and size in XY space. More information can be found here.
Fill
The Fill Attributes consist of different items called Elements. Each Element contains a Type. This can be either Solid or Image and changes some of the available Attributes under this category.
If there is more than one Fill Element, the most recent one will take precedent over the others (unless some Blend Mode is applied).
Solid

When Solid is selected, Color is visible.
Coloris a color selector that lets the user pick theFill'scolor.Similar to the base property described previously,
Blend Modehere affects theFill Elementsonly. These are established on common formulas, examples of each can be accessed here. It can also be set with the Set Blend Mode Node.Opacityrefers to how opaque or transparent theFillappears. This is represented by an integer between 0 and 1.
Gradient

When Gradient is selected, Gradient is visible.
Gradientdecides the style of gradient, which can be eitherLinear,Radial,Angular, orDiamond.The
Gradientcolor selector has a row of squares going left to right as well as a column going top to bottom. These correspond 1:1 with each other, so in the image above the mustard yellow squares are the same color. The user can drag the squares in the row to change the order of the gradient's colors. Clicking anywhere in the bar will add a square in both the row and column of colors. The user can change the color of a square by clicking it, which opens the color picker.Similar to the base property described previously,
Blend Modehere affects theFill Elementsonly. These are established on common formulas, examples of each can be accessed here. It can also be set with the Set Blend Mode Node.Opacityrefers to how opaque or transparent theFillappears. This is represented by an integer between 0 and 1.
Image

When Image is selected, Image and Fit Mode are visible.
Imageis the desired Texture file.Fit Modedetermines how the Texture is displayed. These can beFill,Fit,Crop, andTile.Tilehas the additional Attribute ofScale Factor, which augments the tesselation.Similar to the base property described previously,
Blend Modehere affects theFill Elementsonly. These are established on common formulas, examples of each can be accessed here. It can also be set with the Set Blend Mode Node.Opacityrefers to how opaque or transparent theFillappears. This is represented by an integer between 0 and 1.
Video

When Video is selected, Video and Fit Mode are visible.
Videois the desired Video file.Fit Modedetermines how the Video is displayed. These can beFill,Fit,Crop, andTile.Tilehas the additional Attribute ofScale Factor, which augments the tesselation.Below
Fit Modeare three options:Play,Pause, andStop.Playstarts the video in the Scene2D,Pausehalts it at the frame it is currently on, andStophalts it and resets it to the beginning.Loopis a Bool that when toggled on, makes the video repeat itself once it finishes. This is continous.Similar to the base property described previously,
Blend Modehere affects theFill Elementsonly. These are established on common formulas, examples of each can be accessed here. It can also be set with the Set Blend Mode Node.Opacityrefers to how opaque or transparent theFillappears. This is represented by an integer between 0 and 1.
When Video is selected, a new Attibute appears in a new Attribute section called Video.

This is Preload, which is a Bool. When enabled, memory is used on Project initializaton and there will be no delay on first play. When disabled, less memory will be used and there will be a small delay on first play.
Lottie

When Lottie is selected, Lottie and Fit Mode are visible.
Lottieis the desired Lottie file.Fit Modedetermines how the Lottie file is displayed. These can beFill,Fit,Crop, andTile.Tilehas the additional Attribute ofScale Factor, which augments the tesselation.Below
Fit Modeare three options:Play,Pause, andStop.Playstarts the Lottie in the Scene2D,Pausehalts it at the frame it is currently on, andStophalts it and resets it to the beginning.Loopis a Bool that when toggled on, makes the Lottie repeat itself once it finishes. This is continous.Similar to the base property described previously,
Blend Modehere affects theFill Elementsonly. These are established on common formulas, examples of each can be accessed here. It can also be set with the Set Blend Mode Node.Opacityrefers to how opaque or transparent theFillappears. This is represented by an integer between 0 and 1.
Stroke
The Stroke Attributes consist of different items called Elements. Each Element contains a Type. This can be either Solid or Image and changes some of the available Attributes under this category. There are also two fixed Attributes outside of the Elements. These are:
Width, which is how wide (in pixels) eachStrokewill appear. This applies to eachStroke Element.Position, which determines what part of the outline identifies the outside of the Object. For example, ifInneris selected, then the outside of theStrokeis the outside of the Object. IfCenteris selected, then theStroke'scenter is the outside of the Object. IfOuteris selected, then the inside of theStrokeis the outside of the Object.
Solid

When Solid is selected, Color is visible.
Coloris a color selector that lets the user pick theStroke'scolor.Similar to the base property described previously,
Blend Modehere affects theStroke Elementsonly. These are established on common formulas, examples of each can be accessed here. It can also be set with the Set Blend Mode Node.Opacityrefers to how opaque or transparent theStrokeappears. This is represented by an integer between 0 and 1.
Please note that when a new Fill is added, it is added to the top of the fill list and the Object will be updated to display this Fill.
Gradient

When Gradient is selected, Gradient is visible.
Gradientdecides the style of gradient, which can be eitherLinear,Radial,Angular, orDiamond.The
Gradientcolor selector has a row of squares going left to right as well as a column going top to bottom. These correspond 1:1 with each other, so in the image above the mustard yellow squares are the same color. The user can drag the squares in the row to change the order of the gradient's colors. Clicking anywhere in the bar will add a square in both the row and column of colors. The user can change the color of a square by clicking it, which opens the color picker.Similar to the base property described previously,
Blend Modehere affects theStroke Elementsonly. These are established on common formulas, examples of each can be accessed here. It can also be set with the Set Blend Mode Node.Opacityrefers to how opaque or transparent theStrokeappears. This is represented by an integer between 0 and 1.
Image

When Image is selected, Image and Fit Mode are visible.
Imageis the desired Texture file.Fit Modedetermines how the Texture is displayed. These can beFill,Fit,Crop, andTile.Tilehas the additional Attribute ofScale Factor, which augments the tesselation.Similar to the base property described previously,
Blend Modehere affects theStroke Elementsonly. These are established on common formulas, examples of each can be accessed here. It can also be set with the Set Blend Mode Node.Opacityrefers to how opaque or transparent theFillappears. This is represented by an integer between 0 and 1.
Video

When Video is selected, Video and Fit Mode are visible.
Videois the desired Video file.Fit Modedetermines how the Video is displayed. These can beFill,Fit,Crop, andTile.Tilehas the additional Attribute ofScale Factor, which augments the tesselation.Below
Fit Modeare three options:Play,Pause, andStop.Playstarts the video in the Scene2D,Pausehalts it at the frame it is currently on, andStophalts it and resets it to the beginning.Loopis a Bool that when toggled on, makes the video repeat itself once it finishes. This is continous.Similar to the base property described previously,
Blend Modehere affects theStroke Elementsonly. These are established on common formulas, examples of each can be accessed here. It can also be set with the Set Blend Mode Node.Opacityrefers to how opaque or transparent theStrokeappears. This is represented by an integer between 0 and 1.
When Video is selected, a new Attibute appears in a new Attribute section called Video.

This is Preload, which is a Bool. When enabled, memory is used on Project initializaton and there will be no delay on first play. When disabled, less memory will be used and there will be a small delay on first play.
Lottie

When Lottie is selected, Lottie and Fit Mode are visible.
Lottieis the desired Lottie file.Fit Modedetermines how the Lottie file is displayed. These can beFill,Fit,Crop, andTile.Tilehas the additional Attribute ofScale Factor, which augments the tesselation.Below
Fit Modeare three options:Play,Pause, andStop.Playstarts the Lottie in the Scene2D,Pausehalts it at the frame it is currently on, andStophalts it and reset it to the beginning.Loopis a Bool that when toggled on, makes the Lottie repeat itself once it finishes. This is continous.Similar to the base property described previously,
Blend Modehere affects theStroke Elementsonly. These are established on common formulas, examples of each can be accessed here. It can also be set with the Set Blend Mode Node.Opacityrefers to how opaque or transparent theStrokeappears. This is represented by an integer between 0 and 1.
Effects
The Effects Attribute consists of different items called Elements. Each Element contains a Type. These are Drop Shadow, Inner Shadow, Layer Blur, and Background Blur. The available Attributes are described below:
Drop Shadow and Inner Shadow

There are two shadow Types. Drop Shadow adds a shadow behind the Object. Inner Shadow adds a shadow within the Object.


Offsetsets the location of the shadow in relation to the Object.Blurmodifies the softness of the shadow. When there is no blur, the shadow appears completely solid with rigid lines. When blur is applied, the shadow becomes transfused.Spreadinflates or deflates the shadowshape on which the blur is applied.Colorchanges the color of the shadow.Blend Modeaffects theEffects Elementsonly. These are established on common formulas, examples of each can be accessed here. It can also be set with the Set Blend Mode Node.
Layer Blur and Background Blur

There are two blur Types. Layer Blur blurs the Object itself and Background Blur applies a blur to whatever is directly behind the Object. This latter blur type is better seen when the Object's opacity or Fill opacity has been reduced.


Blurincreases the severity of the blur effect.
Mask
A Mask is an Object that shows a certain area of another Object while concealing the rest. Any Object (e.g., an Ellipse, Rectangle, Frame, Group, or Text) can be used as a Mask.
For easier visualization, think of the Mask as a cookie cutter while the masked Object is the dough: the cookie cutter shows only a part and discards the rest.

The Type Attribute has three options:
None- nothing is applied.Alpha- the Mask has an opacity level (alpha channel) determining with which level of opacity (or transparency) the masked Object is revealed: 0% opacity reveals nothing, 100% opacity is equivalent to a Mask withVectortype.Vector- only modifies the shape outline of the masked ObjectLuminance- allows the user to utilize brightness to determine the effect of the Mask; the brighter the area of a Mask, the more that is revealed and the darker the area, the less that is revealed.
Object allows the user to select what should be the masked Object.
Apply Mask is a toggle that applies the Mask when set to on, and disables the Mask when set to off.
Style

This Attribute gives the user purview over how round the Rectangle's corners are, specifiying the size of the radius for the curve.
Tag

This Attribute manages the tags for the Button. See more on tags here.
Last updated
Was this helpful?