XFINIUM.PDF Documentation
DrawCloud Method



Xfinium.Pdf.Graphics Namespace > PdfGraphics Class : DrawCloud Method
PdfPen that determines the color, width, and style of the cloud outline.
PdfBrush that determines the characteristics of the cloud fill.
The list of points that define the polygon cloud.
The radius of the arcs that compose the cloud.
Extension for cloud arcs.
If true then the cloud arcs are distributed evenly between 2 polygon points.
Draws a cloud figure.
Syntax
'Declaration
 
Public Sub DrawCloud( _
   ByVal pen As PdfPen, _
   ByVal brush As PdfBrush, _
   ByVal polygon() As PdfPoint, _
   ByVal radius As Double, _
   ByVal extension As Double, _
   ByVal niceCorners As Boolean _
) 
'Usage
 
Dim instance As PdfGraphics
Dim pen As PdfPen
Dim brush As PdfBrush
Dim polygon() As PdfPoint
Dim radius As Double
Dim extension As Double
Dim niceCorners As Boolean
 
instance.DrawCloud(pen, brush, polygon, radius, extension, niceCorners)

Parameters

pen
PdfPen that determines the color, width, and style of the cloud outline.
brush
PdfBrush that determines the characteristics of the cloud fill.
polygon
The list of points that define the polygon cloud.
radius
The radius of the arcs that compose the cloud.
extension
Extension for cloud arcs.
niceCorners
If true then the cloud arcs are distributed evenly between 2 polygon points.
Remarks
The polygon points must be given in clockwise order.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfGraphics Class
PdfGraphics Members