com.aspose.slides
Class FillFormat

java.lang.Object
  extended by com.aspose.slides.FillFormat

public final class FillFormat
extends java.lang.Object

Represents a fill formatting.


Method Summary
 java.awt.Color getBackColor()
           
 java.awt.Color getForeColor()
           
 int getGradientColorType()
           Returns or sets the gradient color type.
 byte getGradientDegree()
           Returns or sets the gradient degree.
 byte getGradientFillAngle()
           Returns or sets the fill angle (0-179).
 int getGradientFillFocus()
           Returns or sets the fill focus shift.
 int getGradientPreset()
           Returns or sets gradient preset code.
 ColorBlend getGradientStops()
           Returns or sets ColorBlend for custom and preset gradients.
 int getGradientStyle()
           Returns or sets the gradient style.
 int getPatternStyle()
           Gets or sets the pattern style.
 int getPictureId()
           Gets or sets the picture id for the picture fill style.
 boolean getRotateWithShape()
           Determines whether a fill should be rotated with a shape.
 int getType()
           Returns or sets the fill type.
 void setBackColor(java.awt.Color value)
           
 void setForeColor(java.awt.Color value)
           
 void setGradientColorType(int value)
           
 void setGradientDegree(byte value)
           
 void setGradientFillAngle(byte value)
           
 void setGradientFillFocus(int value)
           
 void setGradientPreset(int value)
           
 void setGradientStopt(ColorBlend value)
           
 void setGradientStyle(int value)
           
 void setPatternStyle(int value)
           
 void setPictureId(int value)
           
 void setRotateWithShape(boolean value)
           
 void setTextureStyle(int value)
           Sets the texture style.
 void setType(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRotateWithShape

public boolean getRotateWithShape()

Determines whether a fill should be rotated with a shape. Read/write bool.


setRotateWithShape

public void setRotateWithShape(boolean value)

getType

public int getType()

Returns or sets the fill type. Read/write FillType.


setType

public void setType(int value)

getForeColor

public java.awt.Color getForeColor()

setForeColor

public void setForeColor(java.awt.Color value)

getBackColor

public java.awt.Color getBackColor()

setBackColor

public void setBackColor(java.awt.Color value)

getGradientColorType

public int getGradientColorType()

Returns or sets the gradient color type. Read/write Aspose.Slides.GradientColorType.


setGradientColorType

public void setGradientColorType(int value)

getGradientDegree

public byte getGradientDegree()

Returns or sets the gradient degree. 0-19 values. 0 - black, 19 - white. Read/write byte.


setGradientDegree

public void setGradientDegree(byte value)

getGradientStyle

public int getGradientStyle()

Returns or sets the gradient style. Read/write Aspose.Slides.GradientStyle.


setGradientStyle

public void setGradientStyle(int value)

getGradientFillFocus

public int getGradientFillFocus()

Returns or sets the fill focus shift. Value from -100% to 100%. Read/write int.


setGradientFillFocus

public void setGradientFillFocus(int value)

getGradientFillAngle

public byte getGradientFillAngle()

Returns or sets the fill angle (0-179). Read/write byte.


setGradientFillAngle

public void setGradientFillAngle(byte value)

getGradientPreset

public int getGradientPreset()

Returns or sets gradient preset code. Read/write GradientPreset


setGradientPreset

public void setGradientPreset(int value)

getGradientStops

public ColorBlend getGradientStops()

Returns or sets ColorBlend for custom and preset gradients. Read/write ColorBlend


setGradientStopt

public void setGradientStopt(ColorBlend value)

getPatternStyle

public int getPatternStyle()

Gets or sets the pattern style. Read/write Aspose.Slides.PatternStyle.


setPatternStyle

public void setPatternStyle(int value)

setTextureStyle

public void setTextureStyle(int value)

Sets the texture style.

Parameters:
value - New texture style.

getPictureId

public int getPictureId()

Gets or sets the picture id for the picture fill style. Read/write int.


Can be used also to set new Pattern or Texture but in this case sometimes results are unpredictable. Use it on your own risk.


setPictureId

public void setPictureId(int value)