Styles
Controlling your drawing's aesthetics.
Rayon is also about applying a professional rendering to your drawings : applying colors, line weights, fonts, text sizes, using hatches and textures, etc.
All this can be controlled in Rayon using styles, located in the property panel.

The basics of styles
In Rayon, styles document the aspect of all elements (a text box, a line, a surface, etc.).
Style types
Styles come in 4 different types; shape style, text style, annotation style and wall style. We detail below how each style type works...
Shape styles offer the following options:
Fill (type, opacity, etc)
Stroke (tickness, color, dashing, etc)

Text styles offer the following options:
Text color and size (type, opacity, etc), and text options (units, unit formatting, etc)
Font family
Font style (bold, italic, etc)

Text options allow you to further customoze your text's content, with the following options...
Annotation styles offer the following options:
Text color and size (type, opacity, etc), and text options (units, unit formatting, etc)
Font family
Font style (bold, italic, etc)
Stroke (tickness, color, dashing, etc)
Extension lines option (tickness, color, dashing, etc)
Ends styling (arow head, dot, etc) and size
Head options (block vs text)

Wall styles offer the following options:
Wall thickness
Fill (type, opacity, etc)
Stroke (tickness, color, dashing, etc)

Fill types
In shape and wall styles, the fill option can be of different kinds: solid, gradient, texture, hatch, and image. We detail below how each one works.
Fills can use a solid fill.
A solid fill is made of single color, and opacity.

Fills can use a gradient.
Gradients can be Linear, Angular or Radial.

For any of those options, controls will be accessible on the canvas to define the position and extents of the gradient. Start and End value will allow you to assign a given color to each part of the gradient.
Fills can use a Texture or a Hatch.
Both types of fill allow choosing a pattern. If patterns offered in Rayon's libraries are not what you need, uploading a seamless texture or a PAT hatch file is also possible.

For entities carrying a fill using a hatch or a texture, the pattern of each element can be edited independently! To do so, head to the Tiling field, to enable the option.
You can then manually use the blue dot to rotate and offset the pattern, or simply input precise offset/rotation values in the tiling panel.

Editing, saving & sharing styles
Styles can be either specific to a given entity, or shared across elements.
Styles can be edited, published, and shared across your drawings.
Let's dive in!
Editing a style
Styles' settings can be found in the property panel, on the right. Styles can be edited through their different token fields (Fill, Stroke, etc), or swapped/saved through the options of the section header.

Saved styles
At any point, the style of an element can be saved, in order to apply it to multiple elements at once. Clicking on + allows saving styles.
Once saved, a style displays different options...
Editing
Swapping
Detaching
... accessible on and above the style itself.

Editing a saved style allows changing that style across all shapes carrying it. That way, an entire drawing can be redesigned by simply intervening on the few saved styles carried by the drawing's elements.
Swapping allows replacing a saved style by another. That action can be triggered by using the quad button, or by clicking on the style itself.
Finally, detaching allows removing a saved style for the current selection. Elements whose style has been detached will go back to having their own specific styling.
Style libraries & publishing
At any point, you can find all the styles contained in your drawing in the left-side style panel.
In model styleslists all the styles you have in your modelLibrariesgives you access to extensive libraries
Styles listed under In model styles can be curated, using the panel's options; actions such as...
Creating new styles by clicking on
+Editing/renaming any given style
Deleting unused styles

More importantly, this list can be turned into a library, by being published.
Publishing can be found in the
Sharemodal (upper right corner), under thePublish stylestab.A library can be refreshed at any time by hitting
Refreshin the modal.Published libraries are accessible by users within your organization.
More on libraries here.
The active style
Each time a creation command gets used, the active style appears in the property panel; that style will be assigned to the things you draw with the current command.
Tutorial
For more step-by-step information, watch our tutorial about how to use styles in Rayon:
We are always available
Book a demo with our team, right here. To get some support, reach out to us through our in-app support chat. More about our support policy right here.
Last updated