সুইপ গ্রেডিয়েন্ট

A gradient transitioning between two colors between a start and end angle.

সিনট্যাক্স

<SweepGradient centerX="float" centerY="float"
                  startAngle="float" endAngle="float"
                  colors="argb-color argb-color" positions="float float" />

গুণাবলী

The SweepGradient element has the following attributes:

প্রয়োজনীয় গুণাবলী

The following attributes are required:

centerX

The x-coordinate of the center of the radius.

This attribute is transformable .

centerY

The y-coordinate of the center of the radius.

This attribute is transformable .

startAngle

The angle (in degrees) to start the gradient.

This attribute is transformable .

endAngle

The angle (in degrees) to end the gradient.

This attribute is transformable .

colors

A space-separated list of colors. You must specify each color using either the ARGB format ( #ff000000 = opaque black) or the RGB format ( #000000 = black).

positions

A space-separated list of floats. The relative positions [0..1] of each corresponding color in the colors attribute. If this is an empty string, the colors are distributed evenly along the gradient line.

ঐচ্ছিক বৈশিষ্ট্য

The following attributes are optional:

direction
The direction of the sweep. Either CLOCKWISE or COUNTER_CLOCKWISE . CLOCKWISE ডিফল্ট।

Inner elements

The SweepGradient element can contain between 0 and 4 Transform elements.

{% verbatim %} {% endverbatim %} {% verbatim %} {% endverbatim %}