Applies a cylindrize transformation on an image.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public sealed class Cylindrize : IBitmapTransform, IDisposable
This transformation is useful if you need to emulate the image to be bended on the cylinder surface, for example, mug. In this case the following sequence is used:
You can specify a number of cylinder parameters: height (CylinderHeight property), half-perimeter (CylinderHalfPerimeter property), color (CupColor property). You can also specify position of the image relatively top left corner of the "face" part of cylinder (HorizontalOffset and VerticalOffset properties). If the cylinder (e.g. mug) is tilted, you can take it into account with SlopeAngle property. And of course like for any other geometry bitmap transform, you can specify interpolation algorithm (InterpolationMode property) and background color (BackgroundColor property).