openfl.display

..
Application

Bitmap

BitmapData

BitmapDataChannel

The BitmapDataChannel class is an enumeration of constant values that indicate which channel to use: red, blue, green, or alpha transparency.

BlendMode

A class that provides constant values for visual blend mode effects. These constants are used in the following:

  • The blendMode property of the openfl.display.DisplayObject class.
  • The blendMode parameter of the draw() method of the openfl.display.BitmapData class

CapsStyle

The CapsStyle class is an enumeration of constant values that specify the caps style to use in drawing lines. The constants are provided for use as values in the caps parameter of the openfl.display.Graphics.lineStyle() method. You can specify the following three types of caps:

DisplayObject

DisplayObjectContainer

GradientType

The GradientType class provides values for the type parameter in the beginGradientFill() and lineGradientStyle() methods of the openfl.display.Graphics class.

Graphics

GraphicsPathWinding

The GraphicsPathWinding class provides values for the openfl.display.GraphicsPath.winding property and the openfl.display.Graphics.drawPath() method to determine the direction to draw a path. A clockwise path is positively wound, and a counter-clockwise path is negatively wound:

IBitmapDrawable

IGraphicsData

InteractiveObject

InterpolationMethod

The InterpolationMethod class provides values for the interpolationMethod parameter in the Graphics.beginGradientFill() and Graphics.lineGradientStyle() methods. This parameter determines the RGB space to use when rendering the gradient.

JointStyle

The JointStyle class is an enumeration of constant values that specify the joint style to use in drawing lines. These constants are provided for use as values in the joints parameter of the openfl.display.Graphics.lineStyle() method. The method supports three types of joints: miter, round, and bevel, as the following example shows:

LineScaleMode

The LineScaleMode class provides values for the scaleMode parameter in the Graphics.lineStyle() method.

MovieClip

OpenFLPreloader

PixelSnapping

The PixelSnapping class is an enumeration of constant values for setting the pixel snapping options by using the pixelSnapping property of a Bitmap object.

Preloader

Shader

SpreadMethod

The SpreadMethod class provides values for the spreadMethod parameter in the beginGradientFill() and lineGradientStyle() methods of the Graphics class.

Sprite

Stage

StageAlign

The StageAlign class provides constant values to use for the Stage.align property.

StageDisplayState

The StageDisplayState class provides values for the Stage.displayState property.

StageQuality

The StageQuality class provides values for the Stage.quality property.

StageScaleMode

The StageScaleMode class provides values for the Stage.scaleMode property.

Tilesheet

TriangleCulling

Defines codes for culling algorithms that determine which triangles not to render when drawing triangle paths.

Window