System.Drawing.Drawing2D
14 wrapped types. Load them with using { "System.Drawing.Drawing2D" }. Click a class to open it.
AdjustableArrowCap class sealed · extends CustomLineCap
System.Drawing.Drawing2D.AdjustableArrowCap · assembly System.Drawing.Common
Implements: ICloneable, IDisposable
Constructors
new AdjustableArrowCap(float width, float height) |
new AdjustableArrowCap(float width, float height, bool isFilled) |
Ring: new AdjustableArrowCap(args) uses one constructor; the others are chosen by the parameter names: new AdjustableArrowCap().@New([ :param = value ]) or dnNew("AdjustableArrowCap",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Height | float | read, write | o.Height o.Height = v |
Width | float | read, write | o.Width o.Width = v |
MiddleInset | float | read, write | o.MiddleInset o.MiddleInset = v |
Filled | bool | read, write | o.Filled o.Filled = v |
Members of the base class are inherited.
Blend class sealed
System.Drawing.Drawing2D.Blend · assembly System.Drawing.Common
Constructors
new Blend() |
new Blend(int count) |
Ring: new Blend(args) uses one constructor; the others are chosen by the parameter names: new Blend().@New([ :param = value ]) or dnNew("Blend",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Factors | float[] | read, write | o.Factors o.Factors = v |
Positions | float[] | read, write | o.Positions o.Positions = v |
ColorBlend class sealed
System.Drawing.Drawing2D.ColorBlend · assembly System.Drawing.Common
Constructors
new ColorBlend() |
new ColorBlend(int count) |
Ring: new ColorBlend(args) uses one constructor; the others are chosen by the parameter names: new ColorBlend().@New([ :param = value ]) or dnNew("ColorBlend",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Colors | Color[] | read, write | o.Colors o.Colors = v |
Positions | float[] | read, write | o.Positions o.Positions = v |
CustomLineCap class
System.Drawing.Drawing2D.CustomLineCap · assembly System.Drawing.Common
Implements: ICloneable, IDisposable
Constructors
new CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath) |
new CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap) |
new CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap, float baseInset) |
Ring: new CustomLineCap(args) uses one constructor; the others are chosen by the parameter names: new CustomLineCap().@New([ :param = value ]) or dnNew("CustomLineCap",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
StrokeJoin | LineJoin | read, write | o.StrokeJoin o.StrokeJoin = v |
BaseCap | LineCap | read, write | o.BaseCap o.BaseCap = v |
BaseInset | float | read, write | o.BaseInset o.BaseInset = v |
WidthScale | float | read, write | o.WidthScale o.WidthScale = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
GetStrokeCaps | GetStrokeCaps() | void GetStrokeCaps(out LineCap startCap, out LineCap endCap) |
SetStrokeCaps | SetStrokeCaps(p1,p2) | void SetStrokeCaps(LineCap startCap, LineCap endCap) |
GraphicsContainer class sealed
System.Drawing.Drawing2D.GraphicsContainer · assembly System.Drawing.Common
GraphicsPath class sealed
System.Drawing.Drawing2D.GraphicsPath · assembly System.Drawing.Common
Implements: ICloneable, IDisposable
Constructors
new GraphicsPath() |
new GraphicsPath(FillMode fillMode) |
new GraphicsPath(PointF[] pts, byte[] types) |
new GraphicsPath(PointF[] pts, byte[] types, FillMode fillMode) |
new GraphicsPath(ReadOnlySpan<PointF> pts, ReadOnlySpan<byte> types, FillMode fillMode = …) |
new GraphicsPath(Point[] pts, byte[] types) |
new GraphicsPath(Point[] pts, byte[] types, FillMode fillMode) |
new GraphicsPath(ReadOnlySpan<Point> pts, ReadOnlySpan<byte> types, FillMode fillMode = …) |
Ring: new GraphicsPath(args) uses one constructor; the others are chosen by the parameter names: new GraphicsPath().@New([ :param = value ]) or dnNew("GraphicsPath",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FillMode | FillMode | read, write | o.FillMode o.FillMode = v |
PathData | PathData | read | o.PathData |
PointCount | int | read | o.PointCount |
PathTypes | byte[] | read | o.PathTypes |
PathPoints | PointF[] | read | o.PathPoints |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddArc | AddArc([ :rect = …, :startAngle = …, :sweepAngle = … ])AddArc([ :x = …, :y = …, :width = …, :height = …, :startAngle = …, :sweepAngle = … ]) | void AddArc(RectangleF rect, float startAngle, float sweepAngle)void AddArc(float x, float y, float width, float height, float startAngle, float sweepAngle)void AddArc(Rectangle rect, float startAngle, float sweepAngle)void AddArc(int x, int y, int width, int height, float startAngle, float sweepAngle) |
AddBezier | AddBezier([ :pt1 = …, :pt2 = …, :pt3 = …, :pt4 = … ])AddBezier([ :x1 = …, :y1 = …, :x2 = …, :y2 = …, :x3 = …, :y3 = …, :x4 = …, :y4 = … ]) | void AddBezier(PointF pt1, PointF pt2, PointF pt3, PointF pt4)void AddBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)void AddBezier(Point pt1, Point pt2, Point pt3, Point pt4)void AddBezier(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) |
AddBeziers | AddBeziers(p1) | void AddBeziers(PointF[] points)void AddBeziers(ReadOnlySpan<PointF> points)void AddBeziers(Point[] points)void AddBeziers(ReadOnlySpan<Point> points) |
AddClosedCurve | callMethod("AddClosedCurve",[p1])callMethod("AddClosedCurve",[p1,p2]) | void AddClosedCurve(PointF[] points)void AddClosedCurve(PointF[] points, float tension)void AddClosedCurve(ReadOnlySpan<PointF> points)void AddClosedCurve(ReadOnlySpan<PointF> points, float tension)void AddClosedCurve(Point[] points)void AddClosedCurve(Point[] points, float tension)void AddClosedCurve(ReadOnlySpan<Point> points)void AddClosedCurve(ReadOnlySpan<Point> points, float tension) |
AddCurve | callMethod("AddCurve",[p1])callMethod("AddCurve",[p1,p2])callMethod("AddCurve",[p1,p2,p3,p4]) | void AddCurve(PointF[] points)void AddCurve(PointF[] points, float tension)void AddCurve(PointF[] points, int offset, int numberOfSegments, float tension)void AddCurve(ReadOnlySpan<PointF> points)void AddCurve(ReadOnlySpan<PointF> points, float tension)void AddCurve(Point[] points)void AddCurve(Point[] points, float tension)void AddCurve(Point[] points, int offset, int numberOfSegments, float tension)void AddCurve(ReadOnlySpan<Point> points)void AddCurve(ReadOnlySpan<Point> points, float tension) |
AddEllipse | callMethod("AddEllipse",[p1])callMethod("AddEllipse",[p1,p2,p3,p4]) | void AddEllipse(RectangleF rect)void AddEllipse(float x, float y, float width, float height)void AddEllipse(Rectangle rect)void AddEllipse(int x, int y, int width, int height) |
AddLine | AddLine([ :pt1 = …, :pt2 = … ])AddLine([ :x1 = …, :y1 = …, :x2 = …, :y2 = … ]) | void AddLine(PointF pt1, PointF pt2)void AddLine(float x1, float y1, float x2, float y2)void AddLine(Point pt1, Point pt2)void AddLine(int x1, int y1, int x2, int y2) |
AddLines | AddLines(p1) | void AddLines(PointF[] points)void AddLines(ReadOnlySpan<PointF> points)void AddLines(Point[] points)void AddLines(ReadOnlySpan<Point> points) |
AddPath | AddPath(p1,p2) | void AddPath(GraphicsPath addingPath, bool connect) |
AddPie | AddPie([ :rect = …, :startAngle = …, :sweepAngle = … ])AddPie([ :x = …, :y = …, :width = …, :height = …, :startAngle = …, :sweepAngle = … ]) | void AddPie(Rectangle rect, float startAngle, float sweepAngle)void AddPie(float x, float y, float width, float height, float startAngle, float sweepAngle)void AddPie(int x, int y, int width, int height, float startAngle, float sweepAngle) |
AddPolygon | AddPolygon(p1) | void AddPolygon(PointF[] points)void AddPolygon(ReadOnlySpan<PointF> points)void AddPolygon(Point[] points)void AddPolygon(ReadOnlySpan<Point> points) |
AddRectangle | AddRectangle(p1) | void AddRectangle(RectangleF rect)void AddRectangle(Rectangle rect) |
AddRectangles | AddRectangles(p1) | void AddRectangles(RectangleF[] rects)void AddRectangles(ReadOnlySpan<RectangleF> rects)void AddRectangles(Rectangle[] rects)void AddRectangles(ReadOnlySpan<Rectangle> rects) |
AddRoundedRectangle | AddRoundedRectangle(p1,p2) | void AddRoundedRectangle(Rectangle rect, Size radius)void AddRoundedRectangle(RectangleF rect, SizeF radius) |
AddString | AddString(p1,p2,p3,p4,p5,p6) | void AddString(string s, FontFamily family, int style, float emSize, PointF origin, StringFormat format)void AddString(string s, FontFamily family, int style, float emSize, Point origin, StringFormat format)void AddString(string s, FontFamily family, int style, float emSize, RectangleF layoutRect, StringFormat format)void AddString(string s, FontFamily family, int style, float emSize, Rectangle layoutRect, StringFormat format) |
ClearMarkers | callMethod("ClearMarkers",[]) | void ClearMarkers() |
Clone | callMethod("Clone",[]) | object Clone() |
CloseAllFigures | callMethod("CloseAllFigures",[]) | void CloseAllFigures() |
CloseFigure | callMethod("CloseFigure",[]) | void CloseFigure() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Flatten | callMethod("Flatten",[])callMethod("Flatten",[p1])callMethod("Flatten",[p1,p2]) | void Flatten()void Flatten(Matrix matrix)void Flatten(Matrix matrix, float flatness) |
GetBounds | GetBounds(NULL)GetBounds(value)GetBounds([ :matrix = … ])GetBounds([ :matrix = …, :pen = … ]) | RectangleF GetBounds()RectangleF GetBounds(Matrix matrix)RectangleF GetBounds(Matrix matrix, Pen pen) |
GetLastPoint | callMethod("GetLastPoint",[]) | PointF GetLastPoint() |
GetPathPoints | @GetPathPoints(p1) | int GetPathPoints(Span<PointF> destination) |
GetPathTypes | @GetPathTypes(p1) | int GetPathTypes(Span<byte> destination) |
IsOutlineVisible | IsOutlineVisible([ :point = …, :pen = … ])IsOutlineVisible([ :x = …, :y = …, :pen = … ])IsOutlineVisible([ :pt = …, :pen = …, :graphics = … ])IsOutlineVisible([ :x = …, :y = …, :pen = …, :graphics = … ]) | bool IsOutlineVisible(float x, float y, Pen pen)bool IsOutlineVisible(PointF point, Pen pen)bool IsOutlineVisible(float x, float y, Pen pen, Graphics graphics)bool IsOutlineVisible(PointF pt, Pen pen, Graphics graphics)bool IsOutlineVisible(int x, int y, Pen pen)bool IsOutlineVisible(Point point, Pen pen)bool IsOutlineVisible(int x, int y, Pen pen, Graphics graphics)bool IsOutlineVisible(Point pt, Pen pen, Graphics graphics) |
IsVisible | callMethod("IsVisible",[p1])callMethod("IsVisible",[p1,p2])callMethod("IsVisible",[p1,p2,p3]) | bool IsVisible(float x, float y)bool IsVisible(PointF point)bool IsVisible(float x, float y, Graphics graphics)bool IsVisible(PointF pt, Graphics graphics)bool IsVisible(int x, int y)bool IsVisible(Point point)bool IsVisible(int x, int y, Graphics graphics)bool IsVisible(Point pt, Graphics graphics) |
Reset | callMethod("Reset",[]) | void Reset() |
Reverse | callMethod("Reverse",[]) | void Reverse() |
SetMarkers | callMethod("SetMarkers",[]) | void SetMarkers() |
StartFigure | callMethod("StartFigure",[]) | void StartFigure() |
Transform | Transform(p1) | void Transform(Matrix matrix) |
Warp | Warp([ :destPoints = …, :srcRect = … ])Warp([ :destPoints = …, :srcRect = …, :matrix = … ])Warp([ :destPoints = …, :srcRect = …, :matrix = …, :warpMode = … ])Warp([ :destPoints = …, :srcRect = …, :matrix = …, :warpMode = …, :flatness = … ]) | void Warp(PointF[] destPoints, RectangleF srcRect)void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix)void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode)void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode, float flatness)void Warp(ReadOnlySpan<PointF> destPoints, RectangleF srcRect, Matrix matrix = …, WarpMode warpMode = …, float flatness = …) |
Widen | callMethod("Widen",[p1])callMethod("Widen",[p1,p2])callMethod("Widen",[p1,p2,p3]) | void Widen(Pen pen)void Widen(Pen pen, Matrix matrix)void Widen(Pen pen, Matrix matrix, float flatness) |
GraphicsPathIterator class sealed
System.Drawing.Drawing2D.GraphicsPathIterator · assembly System.Drawing.Common
Implements: IDisposable
Constructors
new GraphicsPathIterator(GraphicsPath path) |
Ring: new GraphicsPathIterator(args) uses one constructor; the others are chosen by the parameter names: new GraphicsPathIterator().@New([ :param = value ]) or dnNew("GraphicsPathIterator",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
SubpathCount | int | read | o.SubpathCount |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyData | CopyData(p1,p2,p3,p4) | int CopyData(ref PointF[] points, ref byte[] types, int startIndex, int endIndex)int CopyData(Span<PointF> points, Span<byte> types, int startIndex, int endIndex) |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Enumerate | Enumerate(p1,p2) | int Enumerate(ref PointF[] points, ref byte[] types)int Enumerate(Span<PointF> points, Span<byte> types) |
HasCurve | callMethod("HasCurve",[]) | bool HasCurve() |
NextMarker | NextMarker(value)NextMarker([ :path = … ])NextMarker([ :startIndex = …, :endIndex = … ]) | int NextMarker(out int startIndex, out int endIndex)int NextMarker(GraphicsPath path) |
NextPathType | NextPathType() | int NextPathType(out byte pathType, out int startIndex, out int endIndex) |
NextSubpath | NextSubpath([ :path = …, :isClosed = … ])NextSubpath([ :startIndex = …, :endIndex = …, :isClosed = … ]) | int NextSubpath(out int startIndex, out int endIndex, out bool isClosed)int NextSubpath(GraphicsPath path, out bool isClosed) |
Rewind | callMethod("Rewind",[]) | void Rewind() |
GraphicsState class sealed
System.Drawing.Drawing2D.GraphicsState · assembly System.Drawing.Common
HatchBrush class sealed · extends Brush
System.Drawing.Drawing2D.HatchBrush · assembly System.Drawing.Common
Implements: ICloneable, IDisposable
Constructors
new HatchBrush(HatchStyle hatchstyle, Color foreColor) |
new HatchBrush(HatchStyle hatchstyle, Color foreColor, Color backColor) |
Ring: new HatchBrush(args) uses one constructor; the others are chosen by the parameter names: new HatchBrush().@New([ :param = value ]) or dnNew("HatchBrush",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HatchStyle | HatchStyle | read | o.HatchStyle |
ForegroundColor | Color | read | o.ForegroundColor |
BackgroundColor | Color | read | o.BackgroundColor |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
Members of the base class are inherited.
LinearGradientBrush class sealed · extends Brush
System.Drawing.Drawing2D.LinearGradientBrush · assembly System.Drawing.Common
Implements: ICloneable, IDisposable
Constructors
new LinearGradientBrush(PointF point1, PointF point2, Color color1, Color color2) |
new LinearGradientBrush(Point point1, Point point2, Color color1, Color color2) |
new LinearGradientBrush(RectangleF rect, Color color1, Color color2, LinearGradientMode linearGradientMode) |
new LinearGradientBrush(Rectangle rect, Color color1, Color color2, LinearGradientMode linearGradientMode) |
new LinearGradientBrush(RectangleF rect, Color color1, Color color2, float angle) |
new LinearGradientBrush(RectangleF rect, Color color1, Color color2, float angle, bool isAngleScaleable) |
new LinearGradientBrush(Rectangle rect, Color color1, Color color2, float angle) |
new LinearGradientBrush(Rectangle rect, Color color1, Color color2, float angle, bool isAngleScaleable) |
Ring: new LinearGradientBrush(args) uses one constructor; the others are chosen by the parameter names: new LinearGradientBrush().@New([ :param = value ]) or dnNew("LinearGradientBrush",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
LinearColors | Color[] | read, write | o.LinearColors o.LinearColors = v |
Rectangle | RectangleF | read | o.Rectangle |
GammaCorrection | bool | read, write | o.GammaCorrection o.GammaCorrection = v |
Blend | Blend | read, write | o.Blend o.Blend = v |
InterpolationColors | ColorBlend | read, write | o.InterpolationColors o.InterpolationColors = v |
WrapMode | WrapMode | read, write | o.WrapMode o.WrapMode = v |
Transform | Matrix | read, write | o.Transform o.Transform = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
MultiplyTransform | callMethod("MultiplyTransform",[p1])callMethod("MultiplyTransform",[p1,p2]) | void MultiplyTransform(Matrix matrix)void MultiplyTransform(Matrix matrix, MatrixOrder order) |
ResetTransform | callMethod("ResetTransform",[]) | void ResetTransform() |
RotateTransform | callMethod("RotateTransform",[p1])callMethod("RotateTransform",[p1,p2]) | void RotateTransform(float angle)void RotateTransform(float angle, MatrixOrder order) |
ScaleTransform | ScaleTransform([ :sx = …, :sy = … ])ScaleTransform([ :sx = …, :sy = …, :order = … ]) | void ScaleTransform(float sx, float sy)void ScaleTransform(float sx, float sy, MatrixOrder order) |
SetBlendTriangularShape | callMethod("SetBlendTriangularShape",[p1])callMethod("SetBlendTriangularShape",[p1,p2]) | void SetBlendTriangularShape(float focus)void SetBlendTriangularShape(float focus, float scale) |
SetSigmaBellShape | callMethod("SetSigmaBellShape",[p1])callMethod("SetSigmaBellShape",[p1,p2]) | void SetSigmaBellShape(float focus)void SetSigmaBellShape(float focus, float scale) |
TranslateTransform | TranslateTransform([ :dx = …, :dy = … ])TranslateTransform([ :dx = …, :dy = …, :order = … ]) | void TranslateTransform(float dx, float dy)void TranslateTransform(float dx, float dy, MatrixOrder order) |
Members of the base class are inherited.
Matrix class sealed
System.Drawing.Drawing2D.Matrix · assembly System.Drawing.Common
Implements: IDisposable
Constructors
new Matrix() |
new Matrix(float m11, float m12, float m21, float m22, float dx, float dy) |
new Matrix(Matrix3x2 matrix) |
new Matrix(RectangleF rect, PointF[] plgpts) |
new Matrix(Rectangle rect, Point[] plgpts) |
Ring: new Matrix(args) uses one constructor; the others are chosen by the parameter names: new Matrix().@New([ :param = value ]) or dnNew("Matrix",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Elements | float[] | read | o.Elements |
MatrixElements | Matrix3x2 | read, write | o.MatrixElements o.MatrixElements = v |
OffsetX | float | read | o.OffsetX |
OffsetY | float | read | o.OffsetY |
IsInvertible | bool | read | o.IsInvertible |
IsIdentity | bool | read | o.IsIdentity |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | Matrix Clone() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Invert | callMethod("Invert",[]) | void Invert() |
Multiply | callMethod("Multiply",[p1])callMethod("Multiply",[p1,p2]) | void Multiply(Matrix matrix)void Multiply(Matrix matrix, MatrixOrder order) |
Reset | callMethod("Reset",[]) | void Reset() |
Rotate | callMethod("Rotate",[p1])callMethod("Rotate",[p1,p2]) | void Rotate(float angle)void Rotate(float angle, MatrixOrder order) |
RotateAt | RotateAt([ :angle = …, :point = … ])RotateAt([ :angle = …, :point = …, :order = … ]) | void RotateAt(float angle, PointF point)void RotateAt(float angle, PointF point, MatrixOrder order) |
Scale | Scale([ :scaleX = …, :scaleY = … ])Scale([ :scaleX = …, :scaleY = …, :order = … ]) | void Scale(float scaleX, float scaleY)void Scale(float scaleX, float scaleY, MatrixOrder order) |
Shear | Shear([ :shearX = …, :shearY = … ])Shear([ :shearX = …, :shearY = …, :order = … ]) | void Shear(float shearX, float shearY)void Shear(float shearX, float shearY, MatrixOrder order) |
TransformPoints | TransformPoints(p1) | void TransformPoints(PointF[] pts)void TransformPoints(ReadOnlySpan<PointF> pts)void TransformPoints(Point[] pts)void TransformPoints(ReadOnlySpan<Point> pts) |
TransformVectors | TransformVectors(p1) | void TransformVectors(PointF[] pts)void TransformVectors(ReadOnlySpan<PointF> pts)void TransformVectors(Point[] pts)void TransformVectors(ReadOnlySpan<Point> pts) |
Translate | Translate([ :offsetX = …, :offsetY = … ])Translate([ :offsetX = …, :offsetY = …, :order = … ]) | void Translate(float offsetX, float offsetY)void Translate(float offsetX, float offsetY, MatrixOrder order) |
VectorTransformPoints | VectorTransformPoints(p1) | void VectorTransformPoints(Point[] pts)void VectorTransformPoints(ReadOnlySpan<Point> pts) |
PathData class sealed
System.Drawing.Drawing2D.PathData · assembly System.Drawing.Common
Constructors
new PathData() |
Ring: new PathData(args) uses one constructor; the others are chosen by the parameter names: new PathData().@New([ :param = value ]) or dnNew("PathData",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Points | PointF[] | read, write | o.Points o.Points = v |
Types | byte[] | read, write | o.Types o.Types = v |
PathGradientBrush class sealed · extends Brush
System.Drawing.Drawing2D.PathGradientBrush · assembly System.Drawing.Common
Implements: ICloneable, IDisposable
Constructors
new PathGradientBrush(PointF[] points) |
new PathGradientBrush(ReadOnlySpan<PointF> points) |
new PathGradientBrush(PointF[] points, WrapMode wrapMode) |
new PathGradientBrush(WrapMode wrapMode, ReadOnlySpan<PointF> points) |
new PathGradientBrush(Point[] points) |
new PathGradientBrush(ReadOnlySpan<Point> points) |
new PathGradientBrush(Point[] points, WrapMode wrapMode) |
new PathGradientBrush(WrapMode wrapMode, ReadOnlySpan<Point> points) |
new PathGradientBrush(GraphicsPath path) |
Ring: new PathGradientBrush(args) uses one constructor; the others are chosen by the parameter names: new PathGradientBrush().@New([ :param = value ]) or dnNew("PathGradientBrush",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CenterColor | Color | read, write | o.CenterColor o.CenterColor = v |
SurroundColors | Color[] | read, write | o.SurroundColors o.SurroundColors = v |
CenterPoint | PointF | read, write | o.CenterPoint o.CenterPoint = v |
Rectangle | RectangleF | read | o.Rectangle |
Blend | Blend | read, write | o.Blend o.Blend = v |
InterpolationColors | ColorBlend | read, write | o.InterpolationColors o.InterpolationColors = v |
Transform | Matrix | read, write | o.Transform o.Transform = v |
FocusScales | PointF | read, write | o.FocusScales o.FocusScales = v |
WrapMode | WrapMode | read, write | o.WrapMode o.WrapMode = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
MultiplyTransform | callMethod("MultiplyTransform",[p1])callMethod("MultiplyTransform",[p1,p2]) | void MultiplyTransform(Matrix matrix)void MultiplyTransform(Matrix matrix, MatrixOrder order) |
ResetTransform | callMethod("ResetTransform",[]) | void ResetTransform() |
RotateTransform | callMethod("RotateTransform",[p1])callMethod("RotateTransform",[p1,p2]) | void RotateTransform(float angle)void RotateTransform(float angle, MatrixOrder order) |
ScaleTransform | ScaleTransform([ :sx = …, :sy = … ])ScaleTransform([ :sx = …, :sy = …, :order = … ]) | void ScaleTransform(float sx, float sy)void ScaleTransform(float sx, float sy, MatrixOrder order) |
SetBlendTriangularShape | callMethod("SetBlendTriangularShape",[p1])callMethod("SetBlendTriangularShape",[p1,p2]) | void SetBlendTriangularShape(float focus)void SetBlendTriangularShape(float focus, float scale) |
SetSigmaBellShape | callMethod("SetSigmaBellShape",[p1])callMethod("SetSigmaBellShape",[p1,p2]) | void SetSigmaBellShape(float focus)void SetSigmaBellShape(float focus, float scale) |
TranslateTransform | TranslateTransform([ :dx = …, :dy = … ])TranslateTransform([ :dx = …, :dy = …, :order = … ]) | void TranslateTransform(float dx, float dy)void TranslateTransform(float dx, float dy, MatrixOrder order) |
Members of the base class are inherited.
RegionData class sealed
System.Drawing.Drawing2D.RegionData · assembly System.Drawing.Common
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Data | byte[] | read, write | o.Data o.Data = v |