This group contains samples that show how to use Docotic.Pdf library to draw various shapes using colors, patterns and color profiles. There are also samples for graphics path construction and clipping, transparency and blending, and also for watermarks usage.
Don't miss all other samples.
This sample shows how to customize a way in which semi-transparent objects will blend on a canvas.
This sample shows how to use current graphics path as a clip region of a canvas.
This sample shows how to load an ICC profile and then create and use a color with that color profile.
This sample shows how to use colors.
This sample shows how to extract vector paths from a page and copy them to a new document.
This sample shows how to save and restore graphics state using PdfCanvas.SaveState and PdfCanvas.RestoreState methods.
This sample shows how to draw straight lines and cubic Bezier curves.
This sample shows how to construct and use graphics path.
This sample shows how to use colored and uncolored tiling patterns.
This sample shows how to remove vector paths drawn on a PDF page.
This sample shows how to draw geometrical shapes, such as circles, ellipses, rectangles and rounded rectangles using PdfCanvas class.
This sample shows how to draw on a canvas using semi-transparent colors.