---
title: "BezierTransform.Apply Method (Bitmap, PointF[], Color, InterpolationMode)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_BezierTransform_Apply_4_d044b2bb.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# BezierTransform.Apply Method (Bitmap, PointF[], Color, InterpolationMode)

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Produces a transformed copy of a given bitmap using the given Bezier surface, background color and interpolation mode.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public static Bitmap Apply(Bitmap source,PointF[] controlPoints,Color backgroundColor,InterpolationMode mode
)
```
 
### Parameters
 
 - source
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md)
A [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md) to transform.

 - controlPoints
     - Type: System.Drawing.PointF[]
Sixteen control points that defines a Bezier surface for the transform.

 - backgroundColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Color.htm.md)
Color to fill empty spaces that can occur as a result of transformation.

 - mode
     - Type: [Aurigma.GraphicsMill.Transforms.InterpolationMode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md)
An [InterpolationMode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md) specifying interpolation algorithm used during the transformation.
   
## See Also

### Reference

- [BezierTransform Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_BezierTransform.htm.md)
- [Apply Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Transforms_BezierTransform_Apply.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
