Skip to content

Commit c750425

Browse files
committed
additional updates based on feedback
1 parent 83b14b7 commit c750425

File tree

4 files changed

+7
-22
lines changed

4 files changed

+7
-22
lines changed

xml/System.Drawing.Drawing2D/GraphicsPath.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6298,7 +6298,7 @@
62986298
<summary>Applies a warp transform, defined by a rectangle and a parallelogram, to this <see cref="T:System.Drawing.Drawing2D.GraphicsPath" />.</summary>
62996299
<remarks>
63006300
<para>
6301-
For <param name="destPoints" />, the array can contain either three or four elements. If the array contains three elements,
6301+
For <paramref name="destPoints" />, the array can contain either three or four elements. If the array contains three elements,
63026302
the lower-right corner of the parallelogram is implied by the first three points.
63036303
</para>
63046304
</remarks>

xml/System.Drawing.Imaging/ColorPalette.xml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,20 +139,17 @@
139139
<ReturnType>System.Drawing.Imaging.ColorPalette</ReturnType>
140140
</ReturnValue>
141141
<Parameters>
142-
<Parameter Name="colorCount" Type="System.Int32" Index="0" FrameworkAlternate="dotnet-plat-ext-9.0" />
143-
<Parameter Name="colors" Type="System.Int32" Index="0" FrameworkAlternate="net-9.0;windowsdesktop-9.0" />
142+
<Parameter Name="colors" Type="System.Int32" Index="0" FrameworkAlternate="dotnet-plat-ext-9.0" />
144143
<Parameter Name="useTransparentColor" Type="System.Boolean" Index="1" FrameworkAlternate="windowsdesktop-9.0;dotnet-plat-ext-9.0;net-9.0" />
145144
<Parameter Name="bitmap" Type="System.Drawing.Bitmap" Index="2" FrameworkAlternate="windowsdesktop-9.0;dotnet-plat-ext-9.0;net-9.0" />
146145
</Parameters>
147146
<Docs>
148-
<param name="colorCount">To be added.</param>
149-
<param name="colors">To be added.</param>
150-
<param name="useTransparentColor">To be added.</param>
151-
<param name="bitmap">To be added.</param>
147+
<param name="colors">The number of colors you want to have in an optimal palette based on a the specified bitmap.</param>
148+
<param name="useTransparentColor"><see langword="true"/> to include the transparent color in the palette.</param>
149+
<param name="bitmap">The bitmap to base the optimal color palette off of.</param>
152150
<summary>Creates an optimal color palette based on the colors in a given bitmap.</summary>
153-
<returns>To be added.</returns>
151+
<returns>The optimal color palette for the specified bitmap.</returns>
154152
<remarks>To be added.</remarks>
155-
<inheritdoc cref="M:System.Drawing.Imaging.ColorPalette.InitializePalette(System.Drawing.Imaging.PaletteType,System.Int32,System.Boolean,Windows.Win32.Foundation.IPointer{Windows.Win32.Graphics.GdiPlus.GpBitmap})" />
156153
</Docs>
157154
</Member>
158155
<Member MemberName="Entries">

xml/System.Drawing/Icon.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,11 +1127,6 @@
11271127
## Remarks
11281128
The transparent areas of the icon are lost when it is converted to a bitmap, and the transparent color of the resulting bitmap is set to `RGB(13,11,12)`. The returned bitmap has the same height and width as the original icon.
11291129
1130-
> [!NOTE]
1131-
> Beginning with framework version 4.6 support was added for PNG frames in .ico files. Applications that target earlier versions of the framework but are running on the 4.6 bits can opt in into the new behavior by adding the following line to the `<runtime>` section of the app.config file:`<AppContextSwitchOverrides value="Switch.System.Drawing.DontSupportPngFramesInIcons=false" />`
1132-
1133-
1134-
11351130
## Examples
11361131
The following code example demonstrates how to use the <xref:System.Drawing.Icon.ToBitmap%2A> method. This example is designed to be used with Windows Forms. Create a form and paste the following code into it. Call the `IconToBitmap` method in the form's .<xref:System.Windows.Forms.Control.Paint> event handler, passing `e` as <xref:System.Windows.Forms.PaintEventArgs> .
11371132

xml/System.Drawing/SystemIcons.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -393,14 +393,7 @@
393393
<Docs>
394394
<summary>Gets an <see cref="T:System.Drawing.Icon" /> object that contains the shield icon.</summary>
395395
<value>An <see cref="T:System.Drawing.Icon" /> object that contains the shield icon.</value>
396-
<remarks>
397-
<format type="text/markdown"><![CDATA[
398-
399-
## Remarks
400-
The User Account Control (UAC) guidelines recommend the use of the shield icon next to or on any control whose default action is to require an elevation to administrator privileges. For more information, see the "User Account Control" section of the "Windows Vista User Experience Guidelines" on MSDN.
401-
402-
]]></format>
403-
</remarks>
396+
<remarks></remarks>
404397
</Docs>
405398
</Member>
406399
<Member MemberName="Warning">

0 commit comments

Comments
 (0)