HGradientPropertyInfo Class Reference

Holds information about a gradient property. More...

#include <HPropert.h>

Inheritance diagram for HGradientPropertyInfo:

Inheritance graph
[legend]
Collaboration diagram for HGradientPropertyInfo:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static HGradientPropertyInfoNew (const char *localizedname, const char *matchname)

Detailed Description

Holds information about a gradient property.

Note:
The gradient file (.gra) will always have a [GRADIENT] header at the top, and has the following format for each key:
GradientKey = type position r g b percent

Parameters:
type is either 0 or 1, which means a Color key or a Percentage key respectively.
Position is a percent along the gradient from 0.0 to 1.0.
RGB are the 0.0 to 1.0 color values when key is a color
Percent is the percentage when key is a percentage

Definition at line 1052 of file HPropert.h.


Member Function Documentation

static HGradientPropertyInfo* HGradientPropertyInfo::New const char *  localizedname,
const char *  matchname
[static]
 

Creates a new HPropertyInfo or any of its derived class UI slot in a property panel in the PWS.

Parameters:
localizedname - String of text used to name the property as it will appear on the left column of the property panel in the PWS.
matchname - String used in the saved A:M file as a tag to identify and retrieve the saved property value.
See also:
HPropertyInfo::SetLocalizedName and HPropertyInfo::SetMatchName

Reimplemented from HPropertyInfo.


The documentation for this class was generated from the following file:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:46:55 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001