PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawCloud Method
The pen that determines the color, width, and style of the curve.
The brush for filling the cloud interior.
Array of points in clockwise order that define the polygon.
Radius of the arcs that compose the cloud.
Angle in degrees to extend the cloud arcs.
True if the arcs should be distributed evenly so that the corners are looking nice.
Collapse All Expand All
In This Topic

drawCloud Method
In This Topic
Draws a cloud shape specified by an array of points.
Syntax

    public void drawCloud(
       PDFPen pen,
       PDFBrush brush,
       PDFPoint[] polygon,
       double radius,
       double extension,
       boolean niceCorners
    )

#### Parameters

pen
  The pen that determines the color, width, and style of the curve.
brush
  The brush for filling the cloud interior.
polygon
  Array of points in clockwise order that define the polygon.
radius
  Radius of the arcs that compose the cloud.
extension
  Angle in degrees to extend the cloud arcs.
niceCorners
  True if the arcs should be distributed evenly so that the corners are looking nice.

See Also

#### Reference

PDFCanvas Class
PDFCanvas Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.