API Reference
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
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- 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) #OfficeDrawingExpands the gradient into clipped solid-color vector wedges 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 override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Double CenterX { get; } #Normalized horizontal center coordinate.
public Double CenterY { get; } #Normalized vertical center coordinate.
public Double StartAngle { get; } #Clockwise start angle in degrees where zero points upward.
public IReadOnlyList<OfficeGradientStop> Stops { get; } #Gradient stops in non-decreasing offset order from zero to one.