Sg 2.9
PlacedSymbol
Packages RSS
About
News
Gallery
Scripts
Tutorials
Download
Reference
Forum
Users
License
Twitter

Extends Item

A PlacedSymbol represents a symbol which has been placed in an Illustrator document.

Constructors

Creates a new PlacedSymbol Item.

Sample code:

var symbol = document.symbols['Rocket'];
var placedSymbol = new PlacedSymbol(symbol, new Point(100, 100));
    Parameters:
  • symbol: Symbol — the symbol to place
  • pt: Point — the center point of the placed symbol — optional

Creates a new PlacedSymbol Item.

Sample code:

var symbol = document.symbols['Rocket'];
var matrix = new Matrix().translate(100, 100).rotate(45);
var placedSymbol = new PlacedSymbol(symbol, matrix);
    Parameters:
  • symbol: Symbol — the symbol to place
  • matrix: Matrix

Creates a new PlacedSymbol item from the provided item by converting it to a Symbol behind and placing it in the same spot as the original item. The original item is then removed.

    Parameters:
  • item: Item — the item to create a symbol out of

Properties

The symbol contained within the placed symbol.

Functions

Inheritance

AltStyle によって変換されたページ (->オリジナル) /