Opacity Property (original) (raw)

Summary

Gets or sets a value indicating the opacity value to use when rendering this object.

Syntax

C#

Objective-C

C++/CLI

Java

Python

public double Opacity { get; set; } 
@property (nonatomic, assign) double opacity; 

public double getOpacity() public void setOpacity(double opacity)

public: property double Opacity { double get() void set(double value) }

Property Value

A value indicating the opacity value to use when rendering this object. A value of 1 means opaque and a value of 0 means transparent. Legal values are between 0 and 1. The default value is 1.