Expand file tree
/
Copy pathMidtoneCurveEffect.xml
More file actions
90 lines (90 loc) · 5.39 KB
/
Copy pathMidtoneCurveEffect.xml
File metadata and controls
90 lines (90 loc) · 5.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<Type Name="MidtoneCurveEffect" FullName="System.Drawing.Imaging.Effects.MidtoneCurveEffect">
<TypeSignature Language="C#" Value="public class MidtoneCurveEffect : System.Drawing.Imaging.Effects.ColorCurveEffect" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit MidtoneCurveEffect extends System.Drawing.Imaging.Effects.ColorCurveEffect" />
<TypeSignature Language="DocId" Value="T:System.Drawing.Imaging.Effects.MidtoneCurveEffect" />
<TypeSignature Language="VB.NET" Value="Public Class MidtoneCurveEffect
Inherits ColorCurveEffect" />
<TypeSignature Language="F#" Value="type MidtoneCurveEffect = class
 inherit ColorCurveEffect" />
<TypeSignature Language="C++ CLI" Value="public ref class MidtoneCurveEffect : System::Drawing::Imaging::Effects::ColorCurveEffect" />
<AssemblyInfo>
<AssemblyName>System.Drawing.Common</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Drawing.Imaging.Effects.ColorCurveEffect</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
Lightens or darkens an image.
</summary>
<remarks>
<para>
Color channel values in the middle of the intensity range are altered more than
color channel values near the minimum or maximum intensity. You can use this effect to lighten (or darken)
an image without loosing the contrast between the darkest and lightest portions of the image.
</para>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MidtoneCurveEffect (System.Drawing.Imaging.Effects.CurveChannel channel, int midtone);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.Drawing.Imaging.Effects.CurveChannel channel, int32 midtone) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.Imaging.Effects.MidtoneCurveEffect.#ctor(System.Drawing.Imaging.Effects.CurveChannel,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (channel As CurveChannel, midtone As Integer)" />
<MemberSignature Language="F#" Value="new System.Drawing.Imaging.Effects.MidtoneCurveEffect : System.Drawing.Imaging.Effects.CurveChannel * int -> System.Drawing.Imaging.Effects.MidtoneCurveEffect" Usage="new System.Drawing.Imaging.Effects.MidtoneCurveEffect (channel, midtone)" />
<MemberSignature Language="C++ CLI" Value="public:
 MidtoneCurveEffect(System::Drawing::Imaging::Effects::CurveChannel channel, int midtone);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Common</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="channel" Type="System.Drawing.Imaging.Effects.CurveChannel" />
<Parameter Name="midtone" Type="System.Int32" />
</Parameters>
<Docs>
<param name="channel">The channel or channels that the effect is applied to.</param>
<param name="midtone">
A value in the range of -100 through 100 that specifies the midtone adjustment value. A value of 0 specifies no change. Positive values specify that the
midtones are made lighter, and negative values specify that the midtones are made darker.
</param>
<summary>Creates a new <see cref="T:System.Drawing.Imaging.Effects.MidtoneCurveEffect" /> with the given <paramref name="midtone" /> adjustment.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException">
<paramref name="midtone" /> is less than -100 or greater than 100.</exception>
</Docs>
</Member>
<Member MemberName="Midtone">
<MemberSignature Language="C#" Value="public int Midtone { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Midtone" />
<MemberSignature Language="DocId" Value="P:System.Drawing.Imaging.Effects.MidtoneCurveEffect.Midtone" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Midtone As Integer" />
<MemberSignature Language="F#" Value="member this.Midtone : int" Usage="System.Drawing.Imaging.Effects.MidtoneCurveEffect.Midtone" />
<MemberSignature Language="C++ CLI" Value="public:
 property int Midtone { int get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Common</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the midtone value.
</summary>
<value>
A value in the range of -100 through 100 that specifies the midtone adjustment value. A value of 0 specifies no change. Positive values specify that the
midtones are made lighter, and negative values specify that the midtones are made darker.
</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>