LibreOffice: Gradient Struct Reference

LibreOffice LibreOffice 5.2 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes | List of all members
Gradient Struct Referencepublished

Describes a gradient between two colors. More...

`import"Gradient.idl";`

## Public Attributes
com::sun::star::awt::GradientStyle | Style
| specifies the style of the gradient. More...
com::sun::star::util::Color | StartColor
| specifies the color at the start point of the gradient. More...
com::sun::star::util::Color | EndColor
| specifies the color at the end point of the gradient. More...
short | Angle
| angle of the gradient in 1/10 degree. More...
short | Border
| per cent of the total width where just the start color is used. More...
short | XOffset
| Specifies the X-coordinate, where the gradient begins, whatever that means. More...
short | YOffset
| Specifies the Y-coordinate, where the gradient begins. More...
short | StartIntensity
| Specifies the intensity at the start point of the gradient. More...
short | EndIntensity
| specifies the intensity at the end point of the gradient. More...
short | StepCount
| Specifies the number of steps of change color. More...

## Detailed Description

Describes a gradient between two colors.

Many aspects of the gradient are undefined, like the algorithm and color space to use to interpolate between the colors and what "intensity" means.

## Member Data Documentation

short Angle

angle of the gradient in 1/10 degree.

short Border

per cent of the total width where just the start color is used.

com::sun::star::util::Color EndColor

specifies the color at the end point of the gradient.

short EndIntensity

specifies the intensity at the end point of the gradient.

com::sun::star::util::Color StartColor

specifies the color at the start point of the gradient.

short StartIntensity

Specifies the intensity at the start point of the gradient.

What that means is undefined.

short StepCount

Specifies the number of steps of change color.

What that means is undefined.

com::sun::star::awt::GradientStyle Style

specifies the style of the gradient.

short XOffset

Specifies the X-coordinate, where the gradient begins, whatever that means.

Possibly means the center of the ELLIPTICAL, SQUARE and RECT style gradients?

short YOffset

Specifies the Y-coordinate, where the gradient begins.

See previous field.

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

- com/sun/star/awt/Gradient.idl