Skip to content

Commit 83b14b7

Browse files
lonitragewarren
andauthored
Apply suggestions from code review
Co-authored-by: Genevieve Warren <[email protected]>
1 parent f0b7e16 commit 83b14b7

23 files changed

+50
-53
lines changed

xml/System.Drawing.Imaging.Effects/BrightnessContrastEffect.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,9 @@
7171
</ReturnValue>
7272
<Docs>
7373
<summary>
74-
<para>Integer in the range -255 through 255 that specifies the brightness level. If the value is 0, the brightness</para>
75-
<para>remains the same. As the value moves from 0 to 255, the brightness of the image increases. As the value moves</para>
76-
<para>from 0 to -255, the brightness of the image decreases.</para>
77-
</summary>
78-
<value>To be added.</value>
79-
<remarks>To be added.</remarks>
74+
<para>Gets an integer in the range -255 through 255 that specifies the brightness level.</para></summary>
75+
<value>An integer in the range -255 through 255 that specifies the brightness level.</value>
76+
<remarks>If the value is 0, the brightness remains the same. As the value moves from 0 to 255, the brightness of the image increases. As the value moves from 0 to -255, the brightness of the image decreases.</remarks>
8077
</Docs>
8178
</Member>
8279
<Member MemberName="ContrastLevel">

xml/System.Drawing.Imaging.Effects/ColorBalanceEffect.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
the amount of yellow increases.
6161
</para>
6262
</param>
63-
<summary>Creates a new <see cref="T:System.Drawing.Imaging.Effects.ColorBalanceEffect" /> with the given parameters.</summary>
63+
<summary>Creates a new <see cref="T:System.Drawing.Imaging.Effects.ColorBalanceEffect" /> with the specified red, green, and blue values.</summary>
6464
<remarks>To be added.</remarks>
6565
<exception cref="T:System.ArgumentException">
6666
<para>

xml/System.Drawing.Imaging.Effects/ColorCurveEffect.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<ReturnType>System.Drawing.Imaging.Effects.CurveChannel</ReturnType>
3535
</ReturnValue>
3636
<Docs>
37-
<summary>The channel or channels that the effect is applied to.</summary>
37+
<summary>Gets the channel or channels that the effect is applied to.</summary>
3838
<value>To be added.</value>
3939
<remarks>To be added.</remarks>
4040
</Docs>

xml/System.Drawing.Imaging.Effects/ColorLookupTableEffect.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</Base>
1515
<Interfaces />
1616
<Docs>
17-
<summary>Allows modification of the color components of an image.</summary>
17+
<summary>Modifies the color components of an image.</summary>
1818
<remarks>Individual color component values are changed to entries in a series of lookup tables.</remarks>
1919
</Docs>
2020
<Members>
@@ -47,7 +47,7 @@
4747
<param name="greenLookupTable">The lookup table for the green channel.</param>
4848
<param name="blueLookupTable">The lookup table for the blue channel.</param>
4949
<param name="alphaLookupTable">The lookup table for the alpha channel.</param>
50-
<summary>Creates a new <see cref="T:System.Drawing.Imaging.Effects.ColorLookupTableEffect" /> with the given parameters.</summary>
50+
<summary>Creates a new <see cref="T:System.Drawing.Imaging.Effects.ColorLookupTableEffect" /> with the specified red, green, blue, and alpha lookup tables.</summary>
5151
<remarks>To be added.</remarks>
5252
<exception cref="T:System.ArgumentException">A lookup table parameter is longer than 256 bytes.</exception>
5353
</Docs>
@@ -96,7 +96,7 @@
9696
<ReturnType>System.ReadOnlyMemory&lt;System.Byte&gt;</ReturnType>
9797
</ReturnValue>
9898
<Docs>
99-
<summary>The lookup table for the alpha channel.</summary>
99+
<summary>Gets the lookup table for the alpha channel.</summary>
100100
<value>To be added.</value>
101101
<remarks>To be added.</remarks>
102102
</Docs>
@@ -117,7 +117,7 @@
117117
<ReturnType>System.ReadOnlyMemory&lt;System.Byte&gt;</ReturnType>
118118
</ReturnValue>
119119
<Docs>
120-
<summary>The lookup table for the blue channel.</summary>
120+
<summary>Gets the lookup table for the blue channel.</summary>
121121
<value>To be added.</value>
122122
<remarks>To be added.</remarks>
123123
</Docs>
@@ -138,7 +138,7 @@
138138
<ReturnType>System.ReadOnlyMemory&lt;System.Byte&gt;</ReturnType>
139139
</ReturnValue>
140140
<Docs>
141-
<summary>The lookup table for the green channel.</summary>
141+
<summary>Gets the lookup table for the green channel.</summary>
142142
<value>To be added.</value>
143143
<remarks>To be added.</remarks>
144144
</Docs>
@@ -159,7 +159,7 @@
159159
<ReturnType>System.ReadOnlyMemory&lt;System.Byte&gt;</ReturnType>
160160
</ReturnValue>
161161
<Docs>
162-
<summary>The lookup table for the red channel.</summary>
162+
<summary>Gets the lookup table for the red channel.</summary>
163163
<value>To be added.</value>
164164
<remarks>To be added.</remarks>
165165
</Docs>

xml/System.Drawing.Imaging.Effects/ColorMatrixEffect.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</Attribute>
2525
</Attributes>
2626
<Docs>
27-
<summary>Color matrix adjustment effect.</summary>
27+
<summary>Adjusts the color matrix effect.</summary>
2828
<remarks>
2929
<para>
3030
See <see href="https://learn.microsoft.com/windows/win32/gdiplus/-gdiplus-recoloring-use">Recoloring</see>
@@ -70,7 +70,7 @@
7070
<ReturnType>System.Drawing.Imaging.ColorMatrix</ReturnType>
7171
</ReturnValue>
7272
<Docs>
73-
<summary>The color transform matrix.</summary>
73+
<summary>Gets the color transform matrix.</summary>
7474
<value>To be added.</value>
7575
<remarks>
7676
<para>

xml/System.Drawing.Imaging.Effects/ContrastCurveEffect.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<param name="channel">The channel or channels that the effect is applied to.</param>
3939
<param name="contrast">
4040
<para>
41-
A value in the range of -100 through 100. A value of 0 specifies no change in contrast. Positive values
41+
A value in the range of -100 through 100 that specifies the contrast adjustment value. A value of 0 specifies no change in contrast. Positive values
4242
specify increased contrast and negative values specify decreased contrast.
4343
</para>
4444
</param>
@@ -64,8 +64,8 @@
6464
<ReturnType>System.Int32</ReturnType>
6565
</ReturnValue>
6666
<Docs>
67-
<summary>A value in the range of -100 through 100.</summary>
68-
<value>A value of 0 specifies no change in contrast. Positive values specify increased contrast and negative values specify decreased contrast.</value>
67+
<summary>A value in the range of -100 through 100 that specifies the contrast adjustment value.</summary>
68+
<value>The contrast adjustment value. A value of 0 specifies no change in contrast. Positive values specify increased contrast, and negative values specify decreased contrast.</value>
6969
<remarks>To be added.</remarks>
7070
</Docs>
7171
</Member>

xml/System.Drawing.Imaging.Effects/CurveChannel.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<BaseTypeName>System.Enum</BaseTypeName>
1414
</Base>
1515
<Docs>
16-
<summary>The <see cref="T:System.Drawing.Imaging.Effects.CurveChannel" /> enumeration specifies which color channels are affected by a <see cref="T:System.Drawing.Imaging.Effects.ColorCurveEffect" />.</summary>
16+
<summary>Specifies which color channels are affected by a <see cref="T:System.Drawing.Imaging.Effects.ColorCurveEffect" />.</summary>
1717
<remarks>To be added.</remarks>
1818
</Docs>
1919
<Members>
@@ -34,7 +34,7 @@
3434
</ReturnValue>
3535
<MemberValue>0</MemberValue>
3636
<Docs>
37-
<summary>Specifies that the color adjustment applies to all channels.</summary>
37+
<summary>The color adjustment applies to all channels.</summary>
3838
</Docs>
3939
</Member>
4040
<Member MemberName="Blue">
@@ -54,7 +54,7 @@
5454
</ReturnValue>
5555
<MemberValue>3</MemberValue>
5656
<Docs>
57-
<summary>Specifies that the color adjustment applies only to the blue channel.</summary>
57+
<summary>The color adjustment applies only to the blue channel.</summary>
5858
</Docs>
5959
</Member>
6060
<Member MemberName="Green">
@@ -74,7 +74,7 @@
7474
</ReturnValue>
7575
<MemberValue>2</MemberValue>
7676
<Docs>
77-
<summary>Specifies that the color adjustment applies only to the green channel.</summary>
77+
<summary>The color adjustment applies only to the green channel.</summary>
7878
</Docs>
7979
</Member>
8080
<Member MemberName="Red">
@@ -94,7 +94,7 @@
9494
</ReturnValue>
9595
<MemberValue>1</MemberValue>
9696
<Docs>
97-
<summary>Specifies that the color adjustment applies only to the red channel.</summary>
97+
<summary>The color adjustment applies only to the red channel.</summary>
9898
</Docs>
9999
</Member>
100100
</Members>

xml/System.Drawing.Imaging.Effects/DensityCurveEffect.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<Docs>
3838
<param name="channel">The channel or channels that the effect is applied to.</param>
3939
<param name="density">
40-
A value in the range of -256 through 256. A value of 0 specifies no change in density. Positive values specify
40+
A value in the range of -256 through 256 that specifies the density. A value of 0 specifies no change in density. Positive values specify
4141
increased density (lighter picture) and negative values specify decreased density (darker picture).
4242
</param>
4343
<summary>Creates a new <see cref="T:System.Drawing.Imaging.Effects.DensityCurveEffect" /> with the given <paramref name="density" />.</summary>
@@ -63,7 +63,7 @@
6363
</ReturnValue>
6464
<Docs>
6565
<summary>
66-
A value in the range of -256 through 256. A value of 0 specifies no change in density. Positive values specify
66+
A value in the range of -256 through 256 that specifies the density. A value of 0 specifies no change in density. Positive values specify
6767
increased density (lighter picture) and negative values specify decreased density (darker picture).
6868
</summary>
6969
<value>To be added.</value>

xml/System.Drawing.Imaging.Effects/ExposureCurveEffect.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<Docs>
3838
<param name="channel">The channel or channels that the effect is applied to.</param>
3939
<param name="exposure">
40-
A value in the range of -256 through 256. A value of 0 specifies no change in exposure. Positive values
40+
A value in the range of -256 through 256 that specifies the exposure. A value of 0 specifies no change in exposure. Positive values
4141
specify increased exposure and negative values specify decreased exposure.
4242
</param>
4343
<summary>Creates a new <see cref="T:System.Drawing.Imaging.Effects.ExposureCurveEffect" /> with the given <paramref name="exposure" /> adjustment.</summary>

xml/System.Drawing.Imaging.Effects/GrayScaleEffect.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</Base>
1515
<Interfaces />
1616
<Docs>
17-
<summary>Effect that converts an image to grayscale.</summary>
17+
<summary>Produces the effect that converts an image to grayscale.</summary>
1818
<remarks>To be added.</remarks>
1919
</Docs>
2020
<Members>

0 commit comments

Comments
 (0)