GH_PageCurl

public class GH_PageCurl
Provides methods for computing the shape and size of page curls, as well as the GDI paths and brushes required to draw them.

Constructors

GH_PageCurl

#
public GH_PageCurl(Point anchor, Point tip)
anchor (Point)
tip (Point)

Properties

BackgroundPath

#
public GraphicsPath BackgroundPath { get; }
Gets the graphics path for the background that the curl fold has exposed.

BackgroundShadowBrush

#
public Brush BackgroundShadowBrush { get; }
Gets a brush that can be used for drawing the fold shadow gradient.

BackgroundShadowPath

#
public GraphicsPath BackgroundShadowPath { get; }
Gets the graphics path for the fold shadow on the exposed area.

CurlBrush

#
public Brush CurlBrush { get; }
Gets the brush that can be used for drawing the curl backside.

CurlEdge

#
public GraphicsPath CurlEdge { get; }
Gets the edge of the page curl.

CurlInterior

#
public GraphicsPath CurlInterior { get; }
Gets a graphics path desribing the entire curl + background shape.

CurlPath

#
public GraphicsPath CurlPath { get; }
Gets the graphics path for the part of the curl that represents the backside of the fold.

CurlShadowBrush

#
public Brush CurlShadowBrush { get; }
Gets a brush that can be used for drawing the curl shadow gradient.

CurlShadowPath

#
public GraphicsPath CurlShadowPath { get; }
Gets the graphics path for the curl shadow.

CurlTip

#
public PointF CurlTip { get; }
Gets the corner coordinate of the fold.

Methods

RenderTopology

#
public void RenderTopology(Graphics g)
Draw debugging topology information about the page-curl into a graphics context.
g (Graphics)Graphics object to draw with.