Style elements
Review of actions for creating and applying styles to elements
This category contains 8 showcases
Play all Style elements showcases continuously
Shows how to apply a style property to multiple objects in a single action
Apply a style to multiple objects
Showcase steps
- Select multiple objects
- Fill style menu shows common properties.
- Apply a fill gradient to selected objects.
- Apply a fill color to selected objects.
Shows how to copy the style of an object to others objects
Copy style from an object
Showcase steps
- Select the object with style to apply
- Click Apply style icon from Selection menu.
- Select the object to apply the style.
- Select another object with style to apply.
- Select multiple objects within an area to apply the style to them
Create and apply CSS classes
Use CSS styles
Showcase steps
- Define the style of the element and make it a CSS class
- Click Properties..
- Set the fill color
- Select the CSS styles tab
- Enter the class name
- Move the properties locationfrom inline to the CSS class
- Click the CSS class location
- Click Close
- Create a new class for texts
- Set text style properties
- Enter the CSS class name
- Click Close
- Two methods for applying classes
- First methodSelect the element with the style to apply
- Click the Apply style icon in the Selection menu
- Click on the target element
- Second methodSelect target Item
- Choose the CSS class to apply
- Click OK
- Remove inline properties that hide those in the class
- Click Close
- How to edit all CSS classesin the document
- Click the Definitions tab of the Document menu
- Click the CSS styles iconof the Document menu
- Select a CSS selector to make a copy
- Enter the name of the copy to be created
- Click the copy icon
- Enter the name of the property to add
- Click the Add icon
- Click OK
- Select the new class
- Click OK
- Create a new class by copy for text
- Click OK
- Apply the new class
- Click Close
- Changing a class property on an element affects all elements that use the class
- How to override a CSS class property on an element
- Move the location of the property to inline
- Click inline
- Click Close
Using the color chooser
Use the color chooser
Showcase steps
- Change the stroke and fill colors of the selected item with the color chooser from the menus or the properties panel.
- Click the palette icon from the Stroke style menu to change the stroke color.
- The color chooser is vertical.
- Click the palette icon from the Fill style menu to change the fill color.
- Click the Properties iconto open the properties pane.
- Select the Stroke style pane.
- Click the palette iconto open the color chooser and change the stroke color.
- The color chooser is horizontalwith standard palette and HSV/RGB values.
- Select the Fill style pane.
- Click the palette iconto open the color chooser and change the fill color.
- Change the fill color with the standard palette.
- Select the navy color.
- Select the color format:name or hexadecimal or RGB.
- Click the validation rectangle to confirm your choice.
- Change the fill color with RGB values.
- Use RGB sliders.
- Click the field to type the value.Press the Enter key to validate.
- Change the fill color with HSV values.
Using filters (spotlight, relief, drop shadow, wrap)
Use filters
Showcase steps
- Apply the 'Relief' filter on this text.
- Edit the text properties.
- Click the Filter icon in the Fill style tab.
- Dialog box to apply, create and modifyfilter definitions.
- Select the Relief filter.
- Check the rendering of the filteron a sample text.
- Click OK.
- Apply the 'Spotlight' filter on this shape.
- Select the 'ReliefSpotLight' filter.
- Check the rendering of the filteron an example rectangle.
- Click OK.
- Apply the 'Drop shadow' filter on this polyline.
- Select the dropshadow filter.
- Check the rendering of the filteron an example circle.
- Check the rendering of the filteron an example curve.
- Click OK.
- Apply the 'warp' filter on this image.
- Select the 'warp' filter.
- Click OK.
Apply and customize gradients
Use gradients
Showcase steps
- Apply a gradient by selecting this text.
- Click the Gradient Choose icon in the Fill style menu.
- Gradient chooser.
- Click a gradient.
- Apply a gradient by selecting this shape.
- Click a gradient from the palette.
- Apply a gradient by selecting this line.
- Transform the gradient of the shape.
- Click the Extends icon to transform a new gradient defined by extension.Click Copy icon to transform a copied gradient,otherwise the shared gradient will be transformed.
- Rotate the gradient.
- Click OK.
- Apply gradients from the Properties panel.
- The gradients can be assigned from the Stroke styleand Fill style tabs of the properties editing panel.
- Click Close.
Apply and customize markers
Use markers
Showcase steps
- Choose the marker type from the Start palette of the Marker style menu.
- Click the Choose marker icon from the Mid pane.
- Click a marker type.
- Click the Properties icon.
- Click the Marker tab.
- Click the End marker choose icon.
- Click the end marker type.
- Click Close.
- Change the stroke width.
- Select the marker to change its color.
- Click the Customize end marker icon.
- Click the Copy marker icon.
- Click the Fill rectangle.
- Select medium blue color.
- Click OK.
Apply and customize patterns
Use patterns
Showcase steps
- Apply a pattern to this text.
- Click pattern tab of Fill style menu.
- Click the Pattern Choose icon.
- Click a pattern to select it.
- Apply a pattern to this shape.
- Choose another pattern.
- Apply a pattern to this polyline.
- Click the Pattern Choose icon in the Stroke style menu.
- Choose a pattern to apply to the polyline.
- Select the shape to customize its pattern.
- Click Transform pattern.
- Define a new pattern by extension of this one.
- Rotate the pattern.
- Scale it.
- Click OK.