Classes
The following classes are available globally.
-
An object representing the value of a textLayer’s text alignment property. This object can take on the following values: natural, left, right, center or justified.
See moreDeclaration
class Alignment
-
A geometric angle whose value you access in either radians or degrees.
See moreDeclaration
class Angle
-
An object representing the animation of a layer’s property. For example, an animation may represent a change in a layer’s x-position of opacity.
See moreDeclaration
class Animation
-
A group of animations that share the same start time, duration and timing function.
See moreDeclaration
class AnimationGroup
-
An object which encapsulate all the timing information of an animation.
See moreDeclaration
class AnimationTiming
-
An object used to store color data using the rgba color space.
See moreDeclaration
class Color
-
A
See moreCompositePath
is a path composed of one or more subpaths. Composite paths in Flow are stored in normalized coordinates, that is they fit within a unit square.Declaration
class CompositePath
-
A
See moreConfiguration
represents the “state” of a layer hierarchy at a given point in time by associating values to the properties of the layers.Declaration
class Configuration
-
An object representing the content mode of a view. It defines how a view’s content fills the available space. This object can take on the following values: center, top, bottom, left, right, topLeft, topRight, bottomLeft, bottomRight, resize, resizeAspect, and resizeAspectFill.
See moreDeclaration
class ContentMode
-
An object representing a flow document.
See moreDeclaration
class Document
-
A fill image consist of an image and a pattern fill type which determines how the image should be used to fill an area.
See moreDeclaration
class FillImage
-
An object representing a text font.
See moreDeclaration
class Font
-
A color gradient represented as an array of color stops, each having a parametric location value.
See moreDeclaration
class Gradient
-
A gradient stop stores information used by a gradient to determine how to transition between colors.
See moreDeclaration
class GradientStop
-
An object representing an image bit map.
See moreDeclaration
class Image
-
An object used to group a set of keyvalues which share a common time.
See moreDeclaration
class Keyframe
-
A keyvalue indicates the value of a property at a point in time.
See moreDeclaration
class Keyvalue
-
An object used to represent a visual element in a timeline. Layers are assembled hierarchically to form a “Layer Hierarchy”.
See moreDeclaration
class Layer
-
An object representing a layer’s type. There are 5 type of layers:
See moregroup
,image
,path
,shape
,text
andshapeMask
. Image layers are used to diplay images. Text layers are used to display text. Shape layers display shapes. Path are used to build Shape layers. Group layers are used to group layers, and in turn assemble layers into a “Layer Hierarchy”. ShapeMask layers are used to maks the contents of other layers.Declaration
class LayerType
-
Object representing the line cap of a layer’s stroke.
See moreDeclaration
class LineCap
-
An object representing the line join of a layer’s stroke.
See moreDeclaration
class LineJoin
-
A string object that contains style attributes associated to portions of its text.
See moreDeclaration
class NSAttributedString
-
The paragraph or ruler attributes used by an attributed string.
See moreDeclaration
class NSParagraphStyle
-
An object representing a layer’s drop shadow.
See moreDeclaration
class NSShadow
-
An object representing a curved path in 2-dimensional space. The path is defined by a contiguous sequence of cubic bezier curves.
See moreDeclaration
class Path
-
An object which represents the start or end point of a cubic bezier curve.
See moreDeclaration
class PathPoint
-
A scene contains a layer hierarchy which is animated over time.
See moreDeclaration
class Scene
-
An object representing a auditory sound.
See moreDeclaration
class Sound
-
A sound track contains a sound and timing informating dictating when to play it.
See moreDeclaration
class SoundTrack
-
An abstract symbol which is registered/tracked within a
See moreSymbolTable
.Declaration
class Symbol
-
A data structure used to register and track a set of abstract symbols in order to avoid naming collisions.
See moreDeclaration
class SymbolTable
-
A Timeline contains a scene, along with a set of tracks which express how the scene’s layer hierarchy is animated over time.
See moreDeclaration
class Timeline
-
A
See moreTimingFunction
is a function which specifies how a value progresses as a function of time. InFlood
this function is represented by a cubic bezier curve which is implicitly assumed to begin at (0, 0) and end at (1,1).Declaration
class TimingFunction
-
A
See moreTrack
expresses how the value of a layer’s property is animated over the entire duration of a timeline.Declaration
class Track
-
An object representing a text truncation scheme.
See moreDeclaration
class Truncation