Initializes a new instance of the
Shadow structure, assigning
Shadow.Transparency,
Shadow.Size,
Shadow.Distance and
Shadow.Angle values.
シンタックス
'宣言
Public Function New( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As Unit, _
ByVal As System.Single, _
ByVal As System.Drawing.Color _
)
'使用法
Dim transparency As System.Single
Dim size As System.Single
Dim distance As Unit
Dim angle As System.Single
Dim color As System.Drawing.Color
Dim instance As New Shadow(transparency, size, distance, angle, color)
public Shadow(
System.float ,
System.float ,
Unit ,
System.float ,
System.Drawing.Color
)
パラメータ
- transparency
- A value assigned to the Shadow.Transparency property.
- size
- A value assigned to the Shadow.Size property.
- distance
- An absolute Unit value assigned to the Shadow.Distance property.
- angle
- A value assigned to the Shadow.Angle property.
- color
- A value assigned to the Shadow.Color property.
参照