API Reference
Class
OfficeConicGradient
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 System.Double
- centerY System.Double
- startAngle System.Double
- stops System.Collections.Generic.IReadOnlyList<OfficeIMO.Drawing.OfficeGradientStop>
Methods
public OfficeDrawing CreateDrawing(Double width, Double height, Int32 qualitySegments = 360) #Returns:
OfficeDrawingExpands 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 System.Double
- height System.Double
- qualitySegments System.Int32 = 360
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?