Article ID: 2fe08d7a-af42-4934-ad76-5ef3baf11680
AG Offset is an Astute Graphics live effect which offsets paths like the native Offset Path live effect, but works correctly on open paths and offers many more options. These include the ability to create multiple offsets, offset from both sides of the path at once, change the stroke, fill, and opacity of the offsets, and offset grouped paths as if they were combined into a compound shape. Instead of a modal dialog, the effect’s parameters are adjustable using a panel, and a companion tool allows you to adjust the effect interactively. AG Offset is part of the Stylism plugin.
AG Offset Default Example
As with most live effects, AG Offset appears in the main menu, under Effect > Stylism > AG Offset
. It can also be applied directly from the Appearance panel using the “Add New Effect” button at the bottom of the panel. However, easier ways to apply the live effect are by using the Apply button on the AG Offset panel, or by clicking on an art object with the AG Offset tool.
Article ID: d596a3ba-15e3-470d-aa5a-735f6223955e
The AG Offset tool appears in Illustrator’s main toolbar (which must be in Advanced mode: View > Toolbars > Advanced
), stacked under the Stylism tool. As with other stacked tools, click and hold on the top tool icon to display the tools stacked under it.
AG Offset Tool Location
The AG Offset tool’s cursor is a crosshair, except when previewing a new offset or adjusting an existing offset, in which case it appears as an arrowhead with a small group of parallel lines:
AG Offset Tool Cursors
As the AG Offset tool has many keypresses for certain operations, we suggest installing the free Astute Graphics plugin Astute Buddy, which creates a panel that dynamically updates to inform you of the various keys which can be pressed in the tool’s current context.
The AG Offset tool is works in conjunction with the associated AG Offset panel, which generally should be open and accessible. If you are using the free Astute Graphics plugin DirectPrefs, you can have the AG Offset panel automatically be shown when the AG Offset tool is selected.
The AG Offset tool offers a graphical method for both adding and editing AG Offset live effects.
When the tool is hovered close to or over an art object that can accept an AG Offset effect (but does not currently have one), it will automatically preview the offset as it would generally appear using the current panel parameters. The art does not need to be selected. The type of preview depends on the tool preference settings; the default preview is a full one, showing a complete trace of each offset path in the specified color (red by default, but can be changed). Previews are based on the shape of the base artwork, and will not reflect any existing live effects that might change that shape.
AG Offset Tool Preview
By default, annotated text by the cursor will show the offset’s distance (abbreviated as “D:”, or “DT:” if the Total parameter is enabled) and the step count. Easing, if enabled, will also be indicated. These annotations can be temporarily hidden by holding down the Option/Alt
key. Clicking will add the offset effect to the art object (always placing the live effect below all strokes and fills in the object’s appearance), or the offset can be dragged first to adjust it in the same way an existing offset would be edited (see Editing Existing Offsets).
AG Offset Tool Click Apply
By default, the AG Offset tool creates previews of shadows for any artwork it is over, selected or not,
so care should be taken not to pass it inadvertently over unlocked artwork with high numbers of path segments, such as large blocks of text or objects with expanded Phantasm Halftone or Stipple effects, because calculating the offsets for these objects can take some time. In addition to keeping such art on locked layers, the preference Operate On Selected Objects Only limits the hover preview to selected objects only (see AG Offset: Preferences). If the AG Offset cursor is passed over an unlocked text object containing many characters, a warning dialog will be displayed:
AG Offset Lengthy Text Object Warning
Click Abort unless you are sure you want to put the effect on the text object and are prepared to wait.
When the tool is hovered close to or over an existing offset path or the original object, the existing AG Offset live effect can be edited with the tool. By default, the cursor will show the distance/steps annotations, unless these have been disabled. Dragging with the tool changes the distance parameter. When the AG Offset has multiple steps, only one of the offset paths is kept under the cursor. When the Total parameter is enabled, the last offset is kept under the cursor; otherwise the first offset is kept under the cursor.
AG Offset Tool Drag Edit
While dragging to edit an AG Offset effect, a number of keypresses may be used:
Option/Alt: Constrains the distance parameter to “nice” values (integers, at 400% zoom or less).
Up Arrow/Down Arrow: Increments or decrements the Step parameter.
Left Arrow/Right Arrow: Changes the Easing parameter by 1%.
1–9: Sets the Easing parameter to 10% through 90% respectively.
A: Toggles the annotation readout on or off.
B: Toggles the Both Sides parameter on and off.
C: Changes the preview color, cycling through red, blue, magenta, green, black and grey.
D: Sets all parameters to their default values.
E: Toggles the Easing parameter on and off.
G: Toggles the Treat Groups As Compound Shapes parameter on and off.
L: Toggles the loops mode between Invert and Cut.
Q: Toggles the offset preview type between Full and Fast (see AG Offset: Preferences).
R: Available if the Step count is set to 2 or more. Toggles the Randomize Distances parameter on and off.
T: Available if the Step count is set to 2 or more. Toggles the Total parameter on and off.
U: Temporarily disables Smart Guides, if they were enabled when the drag started.
The AG Offset tool works on a single offset effect at a time, and at the highest group level. In other words, if an object is given an offset, and then grouped with another object, then normally the tool will not be able to edit the offset that is inside the group, but will instead offer to add a new offset at the group level. To edit the inner offset, either isolate the grouped object (in which case the tool can be used) or edit the offset numerically using the panel. To edit multiple offsets simultaneously, use the panel.
Article ID: 7e138e05-9184-4c6f-a4ac-21bd12ffb8a4
The AG Offset live effect does not have a modal parameters dialog, but is instead edited using either the AG Offset tool (for many parameters) or its panel (for complete control over all its parameters). The AG Offset panel can be shown and hidden using the menu item found in the main menu at Window > Astute Graphics > AG Offset
. When at least one selected object has the AG Offset live effect applied, the panel controls will update to reflect the parameters of those effects, which can then be edited. A value field which is blank or (for checkboxes) with a dash indicates that the parameter has different values in the selection. These can be unified (made the same) by entering a new value.
AG Offset Panel
See AG Offset Panel: Flyout Menu.
The help button on the right opens the help documentation in the Astute Manager. If this does not automatically appear, please ensure your Astute Manager is running first.
Specifies the base offset distance. When more than one offset is being created (i.e., the number of Steps is set to 2 or higher), the Total checkbox controls whether the value represents the total of all offsets or the value of each offset. Easing and Randomize Distance, if enabled, will affect the final actual offset distances. Positive values represent outwards offsets (for closed paths); or offsets to the righthand side of the path (for open paths, in relation to the direction of the path).
AG Offset Distance Example
When toggled to the enabled state (dark), the path(s) will be offset both inwards and outwards.
AG Offset Both Sides Example
The type of corner to use when offset outwards from a sharp corner on a path, from among the three standard Illustrator corner types (Mitered, Rounded, and Beveled). When set to Mitered, the Miter Limit may be specified.
AG Offset Corner Types
Specifies the position of the offset paths in relation to the original path, from among Above Original, Replace Original, or Below Original.
The number of offsets to make, from 1 to 999 (if the Both Sides setting is enabled, the value applies to each side independently).
This setting is only applicable when there are loops in open paths into which the offset path cannot fit. It specifies the method used to deal with such loops. The default value is Invert, where the offset path runs on the opposite side of the loop, but can be changed to Cut, in which case the loop is “cut” from the path, essentially ignoring it.
AG Offset Loop Handling
When multiple steps are used, Easing causes them to become progressively larger (for values less than 50%) or progressively smaller (for values larger than 50%). In both cases, the Distance value applies to the first offset only.
AG Offset Easing Example
When enabled, distances between multiple offsets are randomly changed. The specified value (from 1 to 100) controls how much variation is allowed, where 100 is maximum variation.
AG Offset Randomize Example
Each random seed number leads to a different sequence of random values. Clicking the button picks a new seed, thereby changing the look of the artwork. To view or specify the seed number directly, Option/Alt-click
the button. This lets you recreate a previously-generated look.
When enabled, the opacity of the offset path is changed to the specified value. If multiple offsets are being used, their opacities are linearly blended between the opacity of the original art and the specified value. For example, if the original art had 100% opacity and the Alter Opacity value was set to 50%, and Steps was set to 4, then the offset paths would have opacities of 88%, 75%, 63%, and 50%.
When enabled, this setting keeps multiple, partially-transparent offset paths from being transparent to each other, just as the Knockout Group setting on the native Transparency panel does.
AG Offset Knockout Group Example
When the AG Offset live effect is located below the fill and strokes of the artwork in the Appearance panel, this pulldown menu specifies how the stroke of the offset path should be handled:
Retain means the stroke (if any) will be simply be taken from the original path.
Remove means the offset paths will have no stroke, even if the original path had one.
AG Offset Stroke Retain and Remove
Alter Color means the offset path (if it has a stroke), will have its stroke color changed. There are two methods for doing so, specified by the pulldown menu that will become active. When set to Blend Original To, the last offset will have its color changed to the specified color (clicking the color chip allows changing the color using the standard Color Picker); if there are multiple offset paths, the paths will take colors which blend from the original stroke color to the specified color. When set to Pick From Gradient, the stroke colors of the offset paths will be taken from the specified gradient, with the first path corresponding to the color at the start of the gradient and the last offset path corresponding to the color at the end of the gradient.
AG Offset Stroke Alter Color
Alter Weight means the offset path (if it has a stroke), will have its stroke weight changed to the specified value. If there are multiple offset paths, the paths’ strokes will be assigned weights which blend from the original stroke weight to the specified weight.
Alter Both allows changing both the color (as per Alter Color) and weight (as per Alter Weight) of the offset paths’ strokes.
Force means the color and weight of the offset path’s stroke will be set to whatever is specified, regardless of the original path’s style. This is useful for adding a stroked outline to fill-only art without having to add a stroke to the art and moving the AG Offset live effect inside the stroke with the Positioning set to Replace Original.
When the AG Offset live effect is located below the fill and strokes of the artwork in the Appearance panel, this pulldown menu specifies how the fill of the offset path should be handled:
Retain means the fill (if any) will be simply be taken from the original path.
Remove means the offset paths will have no fill, even if the original path had one.
Alter Color means the offset path (if it has a fill), will have its fill color changed. There are two methods for doing so, specified by the pulldown menu that will become active. When set to Blend Original To, the last offset will have its color changed to the specified color (clicking the color chip allows changing the color using the standard Color Picker); if there are multiple offset paths, the paths will take colors which blend from the original fill color to the specified color. When set to Pick From Gradient, the fill colors of the offset paths will be taken from the specified gradient, with the first path corresponding to the color at the start of the gradient and the last offset path corresponding to the color at the end of the gradient.
Force means the color of the offset path’s fill color will be set to whatever is specified, regardless of the original path’s style.
AG Offset Fill Options
When enabled, and the effect is applied to a group (or art that is internally expanded into a group within the effect stack, such as live text), the offset paths are created as if the members of the group were united into a single compound shape:
AG Offset Treat Groups as Compound Shapes
Click to apply the AG Offset live effect to the selected artwork, with the parameters set as they currently exist in the panel. If the button is not available, then either nothing is selected or the selection already contains at least one object with an AG Offset effect. If the button is clicked with Shift
pressed, the offset paths will be added and immediately detached, essentially creating them as editable artwork rather than as a live effect. However, this loses the ability to preview the effect first.
The AG Offset panel flyout menu items are contextually sensitive and all items may not be available, depending on the current selection.
AG Offset Panel Flyout Menu
Changes the offset paths created by all AG Offset live effects in the selection into editable artwork, and removes the effect from the appearance(s). This is similar to using the native menu command Object > Expand Appearance
, but is more flexible because it leaves the existing artwork (and other live effects which may be present) intact.
Removes any AG Offset live effects from the selection. (This can be done from the Appearance panel as well, but not if multiple AG Offset effects are present with different parameters. In that case, the Appearance panel will simply display “Mixed Appearances” and the ability to select the live effect and delete it will no longer be available.)
If one or more of AG Offset’s tip or warning dialogs (for example, the one shown when trying to use the AG Offset tool in Pattern Editing Mode) have been suppressed using the Don’t show again checkbox, clicking this button will re-enable them.
Brings up the preference dialog (see AG Offset: Preferences).
Captures all of the current parameter settings on the panel to a file, which can be instantly recalled later (either in the current file session or a later one). A dialog will appear through which the file name may be specified.
Brings up a dialog through which existing settings files may be renamed or deleted:
AG Offset Manage Settings Dialog
A. Settings List: Shows all user-saved settings. One or more settings files can be selected for use with the buttons at the bottom of the dialog by clicking on them in the list, with Shift
pressed to select contiguously or Command/Ctrl
pressed to select discontiguously, as normal.
B. Rename Button: If a single settings file is selected, allows it to be renamed, through a separate dialog. If the Cancel button is used, the original names will be restored.
C. Delete Button: Removes the selected settings file(s). The files are not permanently deleted until the OK button is clicked.
User-defined settings will appear below the built-in [Default Settings] menu item. Choosing a settings menu item will load the panel with the settings it had when the file was saved; the AG Offset effects in any selected art will be updated to match.
Article ID: cb1a9d09-90de-49dd-8492-82e12a4ba4ba
Using the flyout menu of the AG Offset panel, doubleclicking
the AG Offset tool in the toolbox, or pressing the Enter
key when the tool is selected will bring up the AG Offset preferences dialog:
AG Offset Preferences
When enabled, the offset’s distance and step count parameters (and easing status, if enabled) are displayed next to the AG Offset cursor when it is previewing or editing an offset.
When enabled, and Easing is disabled but the Left Arrow
or Right Arrow
keys are pressed while drag-creating or drag-editing, the Easing parameter will automatically be enabled.
The type of preview used to show the offset paths when hover-previewing or adjusting it using the AG Offset tool.
Full preview shows the complete traces of all the offset paths using a thin line in the specified preview color. Stroke weight and color as well as fills are not shown.
Fast preview draws only the positions of the offset paths marked along a “ruler” drawn perpendicularly to the path at the cursor position. It displays much faster than Full preview, especially for types for artwork with many anchor points, such as large blocks of type.
AG Offset Tool Preview Comparison
Full previews are based on the shape of the base artwork, and will not reflect any of its existing live effects that might change that shape.
Allows a choice of colors in which to annotate the offset previews, from among red, blue, magenta, green, black, and gray. The color can be changed on the fly while dragging by pressing the C
key.
When enabled, offset previews will only be displayed when the cursor is over a selected object rather than any unlocked object. This is useful for preventing delays if the cursor is unintentionally passed over a complicated art object.
Shows a brief description of each preference control when the cursor is being hovered over it.
Opens the help documentation in the Astute Manager. If this does not automatically appear, please ensure your Astute Manager is running first.
Article ID: bc287b84-795b-44b6-ba13-92b2129a71c2
The following operation can be recorded and played back as an Action:
1. The menu item Select > AG Offset Effects
.
Article ID: 21c8230c-7255-4f18-a06b-12d6a9bdbd67
The Stylism plugin adds the menu item AG Offset Effects to the native Select menu. Choosing this menu item will select all unlocked art objects which contain at least one AG Offset live effect.