---
title: "ICanvasRenderingContext2D.GlobalAlpha"
url: "https://reference.aspose.com/html/net/aspose.html.dom.canvas/icanvasrenderingcontext2d/globalalpha/"
product: "Aspose.HTML for .NET API Reference"
description: "ICanvasRenderingContext2D GlobalAlpha property. Alpha value that is applied to shapes and images before they are composited onto the canvas. Default 1.0 opaque"
---

## ICanvasRenderingContext2D.GlobalAlpha property

Alpha value that is applied to shapes and images before they are composited onto the canvas. Default 1.0 (opaque).

```csharp
public double GlobalAlpha { get; set; }
```

### See Also

* interface [ICanvasRenderingContext2D](../)
* namespace [Aspose.Html.Dom.Canvas](../../../aspose.html.dom.canvas/)
* assembly [Aspose.HTML](../../../)
