Class
OfficeConicGradient
OfficeIMO.Drawing
Backend-neutral conic gradient intent that can be expanded into a bounded vector drawing. Stop offsets cover one clockwise turn, and zero degrees points upward.
Inheritance
- object
- OfficeConicGradient
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Method OfficeConicGradient.Clone
Constructors
public OfficeConicGradient(double centerX, double centerY, double startAngle, IReadOnlyList<OfficeGradientStop> stops) #Creates a conic gradient in normalized local coordinates.
Parameters
- centerX double
- centerY double
- startAngle double
- stops System.Collections.Generic.IReadOnlyList<OfficeIMO.Drawing.OfficeGradientStop>
Methods
public OfficeDrawing CreateDrawing(double width, double height, int qualitySegments = 360) #Expands the gradient into clipped solid-color vector regions shared by raster, SVG, and PDF exporters. Authored stop boundaries are retained in addition to the uniform quality segments.
Parameters
- width double
- height double
- qualitySegments int = 360
Returns
OfficeDrawing