Adobe.com
Contents Suites Classes Class Index Member Index

AIGradientStop Struct Reference

Defines a gradient stop. More...

#include <AIColor.h>

List of all members.

Public Member Functions

void Init ()

Public Attributes

AIReal midPoint
 The location between two ramp points where there is an equal mix of this color and the color of the next stop.
AIReal rampPoint
 The position on the blend ramp where this color begins, in the range [0..100].
AIColor color
 The type and specification of the color for the gradient stop; a gray color, a process color, an RGB color, or a custom color.
AIReal opacity
 The opacity value for the gradient stop, in the range [0,1], 0 for completely transparent and 1 for completely opaque.

Detailed Description

Defines a gradient stop.

Each stop is place where the color changes in a blend. A set of stops defines the gradient ramp. See AIGradientStyle and AIGradientSuite.


Member Function Documentation

void AIGradientStop::Init (  )  [inline]

Member Data Documentation

The type and specification of the color for the gradient stop; a gray color, a process color, an RGB color, or a custom color.

The location between two ramp points where there is an equal mix of this color and the color of the next stop.

This value is a percentage of the distance between the two ramp points, between 13 and 87. The midpoint for the previous color stop is not considered.

The opacity value for the gradient stop, in the range [0,1], 0 for completely transparent and 1 for completely opaque.

The position on the blend ramp where this color begins, in the range [0..100].

The first point does not have to be at 0, but the first color begins at 0. Similarly, the last does not have to be at 100.


The documentation for this struct was generated from the following file:


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks