GradientRadialShading

Inheritance: java.lang.Object, com.aspose.pdf.drawing.PatternColorSpace

public class GradientRadialShading extends PatternColorSpace

Represents gradient radial shading type.

Constructors

ConstructorDescription
GradientRadialShading()Initializes a new instance of the GradientRadialShading class.
GradientRadialShading(Color startColor, Color endColor)Initializes a new instance of the GradientRadialShading class.

Methods

MethodDescription
getStart()Gets or sets starting circle center point.
setStart(Point value)Gets or sets starting circle center point.
getEnd()Gets or sets ending circle center point.
setEnd(Point value)Gets or sets ending circle center point.
getStartingRadius()Gets or sets starting circle radius.
setStartingRadius(double value)Gets or sets starting circle radius.
getEndingRadius()Gets or sets ending circle radius.
setEndingRadius(double value)Gets or sets ending circle radius.
getStartColor()Gets or sets start color.
setStartColor(Color value)Gets or sets start color.
getEndColor()Gets or sets end color.
setEndColor(Color value)Gets or sets end color.

GradientRadialShading()

public GradientRadialShading()

Initializes a new instance of the GradientRadialShading class.

GradientRadialShading(Color startColor, Color endColor)

public GradientRadialShading(Color startColor, Color endColor)

Initializes a new instance of the GradientRadialShading class.

Parameters:

ParameterTypeDescription
startColorColorThe starting circle color.
endColorColorThe ending circle color.

getStart()

public Point getStart()

Gets or sets starting circle center point.

Returns: Point - Point instance

setStart(Point value)

public void setStart(Point value)

Gets or sets starting circle center point.

Parameters:

ParameterTypeDescription
valuePointPoint instance

getEnd()

public Point getEnd()

Gets or sets ending circle center point.

Returns: Point - Point instance

setEnd(Point value)

public void setEnd(Point value)

Gets or sets ending circle center point.

Parameters:

ParameterTypeDescription
valuePointPoint instance

getStartingRadius()

public double getStartingRadius()

Gets or sets starting circle radius.

Returns: double - double value

setStartingRadius(double value)

public void setStartingRadius(double value)

Gets or sets starting circle radius.

Parameters:

ParameterTypeDescription
valuedoubledouble value

getEndingRadius()

public double getEndingRadius()

Gets or sets ending circle radius.

Returns: double - double value

setEndingRadius(double value)

public void setEndingRadius(double value)

Gets or sets ending circle radius.

Parameters:

ParameterTypeDescription
valuedoubledouble value

getStartColor()

public Color getStartColor()

Gets or sets start color.

Returns: Color - Color instance

setStartColor(Color value)

public void setStartColor(Color value)

Gets or sets start color.

Parameters:

ParameterTypeDescription
valueColorColor instance

getEndColor()

public Color getEndColor()

Gets or sets end color.

Returns: Color - Color instance

setEndColor(Color value)

public void setEndColor(Color value)

Gets or sets end color.

Parameters:

ParameterTypeDescription
valueColorColor instance