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

Operators

    Returns:
  • Boolean

Properties

The bounds of the document view, i.e. the bounds of the part of the artboard which is visible in the window. Read-only.

The center point of the document view, i.e. the point on the artboard that maps to the center of the window.

The zoom factor for the view. This is the scale factor from artwork coordinates to window coordinates. The zoom is clamped to lie between the minimum and maximum values supported (between 1/32 and 64). After adjusting the zoom factor the center point of the document view center is unchanged.

    Returns:
  • Number

The screen mode of the view. The screen mode is selected via the three screen mode icons on the bottom of the tool palette.

    Returns:
  • String ('no-screen', 'multi-window', 'fullscreen-menu', 'fullscreen')

Returns a rectangle in artwork coordinates that encloses (at least) the portions of the document that have been changed and so need to be redrawn. This rectangle is reset to be empty each time the #kAIDocumentViewInvalidRectChangedNotifier is sent. Read-only.

The display mode for the current view. Read-only.

    Returns:
  • Array of String ('artwork', 'preview', 'raster', 'opaque', 'ink')

Specifies whether page tiling is shown.

    Returns:
  • Boolean

Specifies whether the grid is visible.

    Returns:
  • Boolean

Specifies whether snapping is enabled.

    Returns:
  • Boolean

Specifies whether the transparency grid is shown in the view.

    Returns:
  • Boolean

The current mouse position within the view, in document coordinates. Read-only.

The document that the object belongs to. Read-only.

Functions

    Parameters:
  • x: Number
  • y: Number

Convert a point from artwork coordinates to view (window) coordinates.

Converts a rectangle from artwork coordinates to view (window) coordinates.

Convert a point from view coordinates to artwork coordinates. This version takes pixel coordinates as an input.

Converts a rectangle from view (window) coordinates to rectangle coordinates.

Checks whether there is a visible template layer.

    Returns:
  • Booleantrue if there is a visible template laye, false otherwise

Scrolls the document window by a vector in artwork coordinates.

    Returns:
  • Boolean

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