Skip to content

PdfGraphics.DrawCloud Method

DrawCloud(PdfPen,PdfBrush,PdfPoint[],Double,Double,Boolean)

Draws a cloud figure.

C#
public void DrawCloud(PdfPen pen, PdfBrush brush, PdfPoint[] polygon, double radius, double extension, bool niceCorners)

Parameters

pen PdfPen

PdfPen that determines the color, width, and style of the cloud outline.

brush PdfBrush

PdfBrush that determines the characteristics of the cloud fill.

polygon PdfPoint[]

The list of points that define the polygon cloud.

radius Double

The radius of the arcs that compose the cloud.

extension Double

Extension for cloud arcs.

niceCorners Boolean

If true then the cloud arcs are distributed evenly between 2 polygon points.

Remarks

The polygon points must be given in clockwise order.