Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Brush Styles palette appears by default in the palette area, on the right side of the screen. This tool enables you to modify existing hatch patterns and create new ones You can also define and edit bitmap and gradient patterns. Brush styles can be used to fill a closed 2D object, either by using an object's Brush Properties (see Properties Windowor  or by Hatching (see Hatching).

...

Note: You can use this tool to update existing patterns. Select the hatch, bitmap, or gradient pattern, make the changes, and click Update. Return to the drawing, and the fill will update in each object where it appears. If the update is not immediate, click the object in Select mode.

...


This style consists of two Patterns - each pattern is a line that repeats at constant offsets. Highlight each pattern number to see the line highlight in red below, in the Preview area.


In this case, Pattern 1 is the dashed line and Pattern 2 is the unbroken line.

...


  
Dashes are always defined in pairs; odd numbers represent the line segments and the even numbers represent the dashes. The length value for dashes is always negative.Image Removed

  
Specify Dashes is used to create a dashed pattern from an unbroken line. Use Add Dashes and Delete Dashes to modify the dash pattern. You can update pattern lengths manually or use the 3-dot icon to define length on-screen.

The following example shows how to define a new hatch pattern.

...

Enter the name of the style at the top of the palette.

Image Added
Image Removed   
In the middle section, use the browser to locate the image file you want to use. A preview of the image appears in the lower section. The size of the repeating image is controlled by the Width and Height values. You can change these values manually, or click Advanced for more control. Image Removed
When you click Advanced, the following window appears. In

the left window, use the dotted border to set the section of the image that will repeat. The tiled pattern updates dynamically under Pattern Preview. You can also set the border by entering values for Left, Top, Width, and Height.
Image Removed
Smooth edges up to n pixels: Smooths the transition between bitmap repetitions by blending adjacent edges.
Output bit depth: The number of bit used for the bitmap.
Calculate adaptive palette: Forces the color down-sampling to match the original color palette as closely as possible. Available only if the Output bit depth is lower than the value which the original bitmap used.
When the style is defined, click Update Style to use it in the current drawing, or Add to Defaults to be able to use it in future drawings.
Now when you open the Properties (see Properties Window) for a 2D closed object, the bitmap style appears in the Brush page (see Properties Window). The style also can be used in the Hatching tools (see Hatching)
Image Removed
Image RemovedImage Added

Gradient Patterns

Enter the name of the style at the top of the palette.

Image Removed Image Added
There are four types of gradient fills: Linear, Radial, Reflected, Diamond, and Custom. Each type is explained later in this section.
Mode (called Fit Mode in the Brush Properties):

Exact Fit: The gradient completely fills the object itself. In this example, the fill completely reaches the second gradient color at the boundary of the circle.

Image Added

Image Removed  
Fit to Extents: The gradient completely fills the extents rectangle that encloses the object. In this example, the second gradient color is only reached at the boundary of the extents rectangle, which is larger than the circle itself. This is why the color at the circle boundary is lighter than in the example above. Image Removed

Image Added
 Center Point:

Modes: Select Extents center to center the fill at the center of the object's extents rectangle. Reference point centers the fill at the object's reference point (see Components of Select Edit Mode).

Focus Scale: This must be a value between 0 and 1. Zero means the color interpolation start from the center (left image below). A value of 0.5 will start the interpolation halfway between the center and the edge (right image below). Image Removed

Image Added
 

...

Note: Settings for Fit Mode, Center Point, and Focus Scale are set here as the fill defaults. These values can be overridden for filled objects by modifying the object's Brush Properties (see Properties Window).

Linear Gradient

Linear fill moves from one color to the other along a straight vector. Under Control Points, highlight First and set the Color. Do the same for Second.

By default, the First color runs vertically along the left side and changes to the Second color along a left-to-right vector. To change this vector, click the icon with the three dots.

Image Removed Image Added
Define the new vector on the screen. The first point of the vector controls where the First color appears. Image Removed

Image Added
 Radial Gradient

Radial fill moves from one color to the other along a radial path. Under Control Points, highlight Center and set the center color. Highlight Radius and set the outer color.
Set the radius manually, or click the 3-dots icon and set the radius on-screen.

Image Removed Image Added
 Reflected Gradient

Reflected fill consists of one line of reflected color, fading to another color on either side. moves from one color to the other along a radial path. Under Control Points, highlight First and set the reflective color. Highlight Second and set the fade color.

Set the angle of the reflection line manually, or click the 3-dots icon and set the direction on-screen. Image Removed

Image Added
Diamond Gradient

Diamond fill moves from from the center outward in four directions, each separated by 90 degrees. Under Control Points, highlight Center and set the color of the center and linear patterns. Highlight Radius-Vector and set that appears in between the Center color lines.

By default, the Center color runs vertically and horizontally to either side. To change this vector, click the icon with the three dots. Image Removed

Image Added
Define  Define the new vector on the screen. The first point of the vector controls where the Center color appears. The second point of the vector controls the angle of the four lines. Image Removed

Image Added
Custom Gradient

Use this type to create a custom polyline and apply colors to each polyline point. The results will resemble a Diamond Gradient, but can have numerous points, each with its own color.
Color 1 runs from the center outward to each point. By default there are three other points (triangular polyline). To change the polyline, click the icon with the three dots. Image Removed

Image Added
Define the polyline on the screen, proceeding in the order of Color 2, Color 3, and so on. The polyline automatically closes, and cannot intersect itself. Select Finish from the local menu to complete the polyline. You can also select an existing polyline from the drawing; click the arrow icon in the Inspector Bar to do this.

If the polyline has more than three points, the number of Control Points increases, and you can set a color for each point. Image Removed

Image Added
When  When the style is defined, click Update Style to use it in the current drawing, or Add to Defaults to be able to use it in future drawings.