Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

:: com :: sun :: star :: rendering ::

unpublished interface XParametricPolyPolygon2DFactory
Base Interfaces
XParametricPolyPolygon2DFactory
┗ ::com::sun::star::uno::XInterface

::com::sun::star::uno::XInterface
Description
This interface provides factory methods to generate various ready-made XParametricPolyPolygon2Ds

Methods' Summary
createLinearHorizontalGradient Create a linear gradient. The gradient varies linearly between leftColor and rightColor in the x direction, and has constant color for fixed x coordinate value in y direction  
createAxialHorizontalGradient Create an axial gradient. The gradient has middleColor in the middle, and varies linearly between middleColor and endColor to both sides in the x direction. For fixed x coordinate, the gradient has constant color value in y direction.  
createEllipticalGradient Create an elliptical gradient. The gradient has centerColor in the middle, and varies linearly between center and endColor via concentric ellipses around the center point. Note that the absolute size of the rectangle given at this method does not matter, only it's aspect ratio: if this aspect ratio is 1, the gradient is circular. If it's not 1, the gradient is elliptical, with the special twist that the aspect ratio is maintained also for the center color: the gradient will not collapse into a single point, but become a line of center color.  
createRectangularGradient Create a rectangular gradient. The gradient has centerColor in the middle, and varies linearly between center and endColor via rectangular boxes around the center point. Note that the absolute size of the rectangle given at this method does not matter, only it's aspect ratio: if this aspect ratio is 1, the gradient is quadratic. If it's not 1, the gradient is rectangular, with the special twist that the aspect ratio is maintained also for the center color: the gradient will not collapse into a single point, but become a line of center color.  
createVerticalLinesHatch Create a line hash of vertical lines. The hashing consists of vertical lines, with colors varying linearly between leftColor and rightColor, when going from left to right  
createOrthogonalLinesHatch Create a line hash of orthogonally crossing lines. The hashing consists of vertical and horizontal lines, with colors varying linearly between leftTopColor and rightBottomColor, when going from left to right (for the vertical lines) and from top tzo bottom (for the horizontal lines).  
createThreeCrossingLinesHatch Create a repeating line hash pattern of three crossing lines. The hashing consists of vertical and horizontal lines plus diagonal lines from left, top to bottom, right. Each of the three groups of lines varies the line color of distinct lines linearly from startColor to endColor, starting at the leftmost or topmost position.  
createFourCrossingLinesHatch Create a repeating line hash pattern of four crossing lines. The hashing consists of vertical and horizontal lines plus diagonal lines in both directions. Each of the four groups of lines varies the line color of distinct lines linearly from startColor to endColor, starting at the leftmost or topmost position.  
Methods' Details
createLinearHorizontalGradient
XParametricPolyPolygon2D
createLinearHorizontalGradient( [in] sequence< ColorComponent >  leftColor,
[in] sequence< ColorComponent >  rightColor )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Create a linear gradient. The gradient varies linearly between leftColor and rightColor in the x direction, and has constant color for fixed x coordinate value in y direction
createAxialHorizontalGradient
XParametricPolyPolygon2D
createAxialHorizontalGradient( [in] sequence< ColorComponent >  middleColor,
[in] sequence< ColorComponent >  endColor )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Create an axial gradient. The gradient has middleColor in the middle, and varies linearly between middleColor and endColor to both sides in the x direction. For fixed x coordinate, the gradient has constant color value in y direction.
createEllipticalGradient
XParametricPolyPolygon2D
createEllipticalGradient( [in] sequence< ColorComponent >  centerColor,
[in] sequence< ColorComponent >  endColor,
[in] ::com::sun::star::geometry::RealRectangle2D  boundRect )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Create an elliptical gradient. The gradient has centerColor in the middle, and varies linearly between center and endColor via concentric ellipses around the center point. Note that the absolute size of the rectangle given at this method does not matter, only it's aspect ratio: if this aspect ratio is 1, the gradient is circular. If it's not 1, the gradient is elliptical, with the special twist that the aspect ratio is maintained also for the center color: the gradient will not collapse into a single point, but become a line of center color.
createRectangularGradient
XParametricPolyPolygon2D
createRectangularGradient( [in] sequence< ColorComponent >  centerColor,
[in] sequence< ColorComponent >  endColor,
[in] ::com::sun::star::geometry::RealRectangle2D  boundRect )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Create a rectangular gradient. The gradient has centerColor in the middle, and varies linearly between center and endColor via rectangular boxes around the center point. Note that the absolute size of the rectangle given at this method does not matter, only it's aspect ratio: if this aspect ratio is 1, the gradient is quadratic. If it's not 1, the gradient is rectangular, with the special twist that the aspect ratio is maintained also for the center color: the gradient will not collapse into a single point, but become a line of center color.
createVerticalLinesHatch
XParametricPolyPolygon2D
createVerticalLinesHatch( [in] sequence< ColorComponent >  leftColor,
[in] sequence< ColorComponent >  rightColor )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Create a line hash of vertical lines. The hashing consists of vertical lines, with colors varying linearly between leftColor and rightColor, when going from left to right
createOrthogonalLinesHatch
XParametricPolyPolygon2D
createOrthogonalLinesHatch( [in] sequence< ColorComponent >  leftTopColor,
[in] sequence< ColorComponent >  rightBottomColor )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Create a line hash of orthogonally crossing lines. The hashing consists of vertical and horizontal lines, with colors varying linearly between leftTopColor and rightBottomColor, when going from left to right (for the vertical lines) and from top tzo bottom (for the horizontal lines).
createThreeCrossingLinesHatch
XParametricPolyPolygon2D
createThreeCrossingLinesHatch( [in] sequence< ColorComponent >  startColor,
[in] sequence< ColorComponent >  endColor )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Create a repeating line hash pattern of three crossing lines. The hashing consists of vertical and horizontal lines plus diagonal lines from left, top to bottom, right. Each of the three groups of lines varies the line color of distinct lines linearly from startColor to endColor, starting at the leftmost or topmost position.
createFourCrossingLinesHatch
XParametricPolyPolygon2D
createFourCrossingLinesHatch( [in] sequence< ColorComponent >  startColor,
[in] sequence< ColorComponent >  endColor )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Create a repeating line hash pattern of four crossing lines. The hashing consists of vertical and horizontal lines plus diagonal lines in both directions. Each of the four groups of lines varies the line color of distinct lines linearly from startColor to endColor, starting at the leftmost or topmost position.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.