# GrapeCity.Documents.Drawing

## Content

<div class="doc-site-dotnet-api-container">

  <h1 id="GrapeCity_Documents_Drawing" data-uid="GrapeCity.Documents.Drawing" class="text-break">GrapeCity.Documents.Drawing Namespace
</h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="markdown level0 remarks"></div>
    <h3 id="classes">
Classes
</h3>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.Brush.html">Brush</a></h4>
      <section><p>Abstract base class for brushes.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.CellStyle.html">CellStyle</a></h4>
      <section><p>Describes the relative position, inner border, filling and layout of a table cell.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.Extensions.html">Extensions</a></h4>
      <section><p>Contains extensions methods for the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.matrix3x2">Matrix3x2</a> struct.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.FrameStyle.html">FrameStyle</a></h4>
      <section><p>Describes the inner border and filling of a table cell or table frame.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.GcGraphics.html">GcGraphics</a></h4>
      <section><p>Abstract base class that implements a drawing surface.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.GcGraphics.Clip.html">GcGraphics.Clip</a></h4>
      <section><p>Represents a clipping applied to a graphics.
When disposed, removes the associated clipping.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.GcGraphics.SU.html">GcGraphics.SU</a></h4>
      <section><p>For internal use only.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.GradientStop.html">GradientStop</a></h4>
      <section><p>Represents a transition point in a gradient.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.HatchBrush.html">HatchBrush</a></h4>
      <section><p>Represents a rectangular brush with a hatch style, a foreground color, and a background color.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.IPathExt.html">IPathExt</a></h4>
      <section><p>Contains extension methods for <a class="xref" href="GrapeCity.Documents.Drawing.IPath.html">IPath</a>.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.Image.html">Image</a></h4>
      <section><p>A lightweight class representing an image in a file, stream, or array of bytes.</p>
<p>By default, this class does not load or decode the actual pixel data
unless <a class="xref" href="GrapeCity.Documents.Drawing.ImageBinding.html#GrapeCity_Documents_Drawing_ImageBinding_InMemoryData">InMemoryData</a> is passed to
<a class="xref" href="GrapeCity.Documents.Drawing.Image.FromFile.html#GrapeCity_Documents_Drawing_Image_FromFile_System_String_GrapeCity_Documents_Drawing_ImageBinding_System_Int32_">FromFile(string, ImageBinding, int)</a>,
<a class="xref" href="GrapeCity.Documents.Imaging.TiffFrame.ToImage.html#GrapeCity_Documents_Imaging_TiffFrame_ToImage_GrapeCity_Documents_Drawing_ImageBinding_">ToImage(ImageBinding)</a> or <a class="xref" href="GrapeCity.Documents.Imaging.GifFrame.ToImage.html#GrapeCity_Documents_Imaging_GifFrame_ToImage_GrapeCity_Documents_Drawing_ImageBinding_">ToImage(ImageBinding)</a>.
</p>
<p>
Use the <a class="xref" href="GrapeCity.Documents.Drawing.Image.ToGcBitmap.html#GrapeCity_Documents_Drawing_Image_ToGcBitmap">ToGcBitmap()</a> method to load the image into a <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a>
in order to access and manipulate the image data.
</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.ImageAlign.html">ImageAlign</a></h4>
      <section><p>Represents the alignment of an image within its container.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.ImageBrush.html">ImageBrush</a></h4>
      <section><p>Represents a rectangular image brush.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.LinearGradientBrush.html">LinearGradientBrush</a></h4>
      <section><p>Represents a linear gradient brush.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.PathExt.html">PathExt</a></h4>
      <section><p>Contains extension methods for <a class="xref" href="GrapeCity.Documents.Drawing.IPath.html">IPath</a> interface.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.Pen.html">Pen</a></h4>
      <section><p>Represents an object used to draw lines and curves.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.RadialGradientBrush.html">RadialGradientBrush</a></h4>
      <section><p>Represents a radial gradient brush.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.SolidBrush.html">SolidBrush</a></h4>
      <section><p>Represents a solid color brush.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.TableCell.html">TableCell</a></h4>
      <section><p>Describes the layout, style, and data of a table cell.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.TableRenderer.html">TableRenderer</a></h4>
      <section><p>A helper class for drawing tables on a <a class="xref" href="GrapeCity.Documents.Drawing.GcGraphics.html">GcGraphics</a>.</p>
<p>
This class is based on the layout engine (see <a class="xref" href="GrapeCity.Documents.Layout.LayoutHost.html">LayoutHost</a> and related classes),
and supports drawing simple or complex tables with merged, rotated, auto-sized, multilayer cells
with customizable styles. Table cells can contain simple text, multi-formatted TextLayout, or owner-drawn content.
</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.TextRenderer.html">TextRenderer</a></h4>
      <section><p>Allows rendering multi-fragment text.</p>
</section>
    <h3 id="structs">
Structs
</h3>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.ArcSegment.html">ArcSegment</a></h4>
      <section><p>Describes an elliptical arc between two points.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.CornerRadius.html">CornerRadius</a></h4>
      <section><p>Represents the corners' radii of a rounded rectangle.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.DMatrix.html">DMatrix</a></h4>
      <section><p>Contains the result of matrix decomposition.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.HslColor.html">HslColor</a></h4>
      <section><p>Represents a color in HSL (hue, saturation, lightness) color model.</p>
</section>
    <h3 id="interfaces">
Interfaces
</h3>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.IClipRegion.html">IClipRegion</a></h4>
      <section><p>Represents clip region.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.IImage.html">IImage</a></h4>
      <section><p>Defines a common interface for images that can be drawn on a <a class="xref" href="GrapeCity.Documents.Drawing.GcGraphics.html">GcGraphics</a>.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.IPath.html">IPath</a></h4>
      <section><p>Represents a complex shape that may be composed of arcs, curves, and lines.</p>
</section>
    <h3 id="enums">
Enums
</h3>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.ArcSize.html">ArcSize</a></h4>
      <section><p>Specifies whether an arc should be greater than 180 degrees.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.BlendMode.html">BlendMode</a></h4>
      <section><p>Defines methods of mixing source and destination colors when drawing.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.CellPosition.html">CellPosition</a></h4>
      <section><p>Specifies whether a table cell appears behind or on top of other cells.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.DashStyle.html">DashStyle</a></h4>
      <section><p>Specifies the style of dashed lines drawn with a <a class="xref" href="GrapeCity.Documents.Drawing.Pen.html">Pen</a> object.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.FigureEnd.html">FigureEnd</a></h4>
      <section><p>Indicates whether a specific <a class="xref" href="GrapeCity.Documents.Drawing.IPath.html">IPath</a> figure is open or closed.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.FillMode.html">FillMode</a></h4>
      <section><p>Specifies how the interior of a closed path is filled.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.FixedTableSides.html">FixedTableSides</a></h4>
      <section><p>Specifies which sides of a table are fixed. Position of those sides does not depend on the table content.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.FrameBorders.html">FrameBorders</a></h4>
      <section><p>Specifies which border lines are drawn in a table cell or table frame.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.HatchStyle.html">HatchStyle</a></h4>
      <section><p>Enumerates the different patterns available for <a class="xref" href="GrapeCity.Documents.Drawing.HatchBrush.html">HatchBrush</a> objects.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.ImageAlignHorz.html">ImageAlignHorz</a></h4>
      <section><p>Specifies the horizontal alignment of foreground and background images.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.ImageAlignVert.html">ImageAlignVert</a></h4>
      <section><p>Specifies the vertical alignment of foreground and background images.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.ImageBinding.html">ImageBinding</a></h4>
      <section><p>Specifies how the image data is attached to the <a class="xref" href="GrapeCity.Documents.Drawing.Image.html">Image</a> object.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.ImageEncoding.html">ImageEncoding</a></h4>
      <section><p>Specifies the encoding of the image.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.InterpolationMode.html">InterpolationMode</a></h4>
      <section><p>Specifies the sampling or filtering mode to use when scaling an image.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.PenLineCap.html">PenLineCap</a></h4>
      <section><p>Describes the shape at the end of a line or segment.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.PenLineJoin.html">PenLineJoin</a></h4>
      <section><p>Describes the shape that joins two lines or segments.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.RotatedTextAlignment.html">RotatedTextAlignment</a></h4>
      <section><p>Specifies the alignment of rotated text within the target rectangle.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.SlantedTextAlignment.html">SlantedTextAlignment</a></h4>
      <section><p>Specifies the alignment of slanted text within the target rectangle.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Drawing.SweepDirection.html">SweepDirection</a></h4>
      <section><p>Defines the direction that an elliptical arc is drawn.</p>
</section>


</div>
