Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
Resource class. More...
#include <ilviews/base/port.h>
Public Member Functions | |
IlvGradientAspectRatio | getAspectRatio () const |
Gets the aspect ratio of this gradient geometry. More... | |
IlvGradientTransformMode | getTransformMode () const |
Gets the transform mode of this gradient geometry. More... | |
void | setAspectRatio (IlvGradientAspectRatio aspectRatio) |
Sets the aspect ratio of this gradient geometry. More... | |
void | setTransformMode (IlvGradientTransformMode mode) |
Sets the transform mode of this gradient geometry. More... | |
Protected Member Functions | |
IlvGradientGeometry (IlvGradientTransformMode mode, IlvGradientAspectRatio aspectRatio) | |
Constructor. More... | |
Friends | |
class | IlvGradientPattern |
Resource class.
Library: xviews or winviews or mviews (mutually exclusive)
Base class for gradient geometries. This class is common to all types of gradient and manages the transform mode and aspect ratio to apply when drawing the gradient pattern.
|
protected |
Constructor.
This constructor initializes a new IlvGradientGeometry
.
mode | The gradient transform mode. |
aspectRatio | The gradient aspect ratio. |
IlvGradientAspectRatio IlvGradientGeometry::getAspectRatio | ( | ) | const |
Gets the aspect ratio of this gradient geometry.
IlvGradientTransformMode IlvGradientGeometry::getTransformMode | ( | ) | const |
Gets the transform mode of this gradient geometry.
void IlvGradientGeometry::setAspectRatio | ( | IlvGradientAspectRatio | aspectRatio | ) |
Sets the aspect ratio of this gradient geometry.
aspectRatio | The new aspect ratio. |
void IlvGradientGeometry::setTransformMode | ( | IlvGradientTransformMode | mode | ) |
Sets the transform mode of this gradient geometry.
mode | The new transform mode. |
© Copyright 2017, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.