ConicGradientFilling
ConicGradientFilling[{col1,col2,…,coln}]
is a two-dimensional graphics directive specifying that faces of polygons and other filled graphics objects are to be drawn using a progressive transition between colors coli along a circle.
ConicGradientFilling[{θ1,θ2,…,θn}{col1,col2,…,coln}]
uses the colors coli at angles θi.
ConicGradientFilling[{θ1,θ2,…,θn}{col1,col2,…,coln},{x,y}]
rotates from the center point {x,y}.
Details
![](Files/ConicGradientFilling.en/details_1.png)
![](Files/ConicGradientFilling.en/details_2.png)
- ConicGradientFilling is also known as conic gradient.
- ConicGradientFilling is typically used to fill a region with a range of position-dependent colors.
- ConicGradientFilling[{col1,col2,…,coln}] specifies a progressive transition between coli along circles around the center of the bounding box of a graphic object.
- ConicGradientFilling[] is effectively equivalent to ConicGradientFilling[{Black,White}].
- ConicGradientFilling["scheme"] uses the specified color scheme in ColorData.
- ConicGradientFilling[{θ1,θ2,…,θn}{col1,col2,…,coln}] specifies colors coli to use at the angle θi from
to
.
- ConicGradientFilling[{θ1col1,θ2col2,…}] is equivalent to ConicGradientFilling[{θ1,θ2,…}{col1,col2,…}].
- ConicGradientFilling[{{θ1,θ2},{col1,col2},…}] is equivalent to ConicGradientFilling[{θ1,θ2,…}{col1,col2,…}].
- ConicGradientFilling[…,{x,y}] specifies the center point {x,y} of rotation and is taken to be coordinates scaled to run from 0 to 1 across the bounding box of a graphic object.
- ImageScaled can be used to specify the center point {x,y} and is taken to be fractions of the whole image region.
- ConicGradientFilling[colors] is equivalent to ConicGradientFilling[colors,{0.5,0.5}].
- ConicGradientFilling[{θ1,…,θn}{col1,…,coln},center,padding] specifies the padding to use when drawing beyond the original range of angles between θ1 and θn.
![](Files/ConicGradientFilling.en/Image_1.gif)
![](Files/ConicGradientFilling.en/Image_2.gif)
![](Files/ConicGradientFilling.en/Image_5.gif)
Examples
open allclose allScope (11)
Basic Uses (6)
Specifications (5)
LinearGradientFilling with no arguments draws a progressive transition from Black to White:
Specify the colors at given angles:
Use predefined color scheme from ColorData:
Specify center points relatively to the width of the graphic objects:
Properties & Relations (5)
Basic Applications (2)
Gradient Colors (3)
Collection of gradient colors in ColorData:
Collection of gradient colors in the Wolfram Data Repository:
Text
Wolfram Research (2020), ConicGradientFilling, Wolfram Language function, https://reference.wolfram.com/language/ref/ConicGradientFilling.html.
CMS
Wolfram Language. 2020. "ConicGradientFilling." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ConicGradientFilling.html.
APA
Wolfram Language. (2020). ConicGradientFilling. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ConicGradientFilling.html