File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
System.Drawing.Imaging.Effects Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 48
48
<summary >Creates a new <see cref =" T:System.Drawing.Imaging.Effects.LevelsEffect" /> with the given parameters.</summary >
49
49
<remarks >
50
50
<para >
51
- For the <paramref =" highlight" />, you can use this adjustment
51
+ For the <paramref name =" highlight" />, you can use this adjustment
52
52
to lighten pixels that are already lighter than a certain threshold. Setting highlight to 100 specifies no change.
53
53
Setting highlight to t specifies that a color channel value is increased if it is already greater than t percent
54
54
of full intensity. For example, setting highlight to 90 specifies that all color channel values greater than 90
55
55
percent of full intensity are increased.
56
56
</para >
57
57
<para >
58
- For the <paramref =" midtone" />, color channel values
58
+ For the <paramref name =" midtone" />, color channel values
59
59
in the middle of the intensity range are altered more than color channel values near the minimum or maximum
60
60
intensity. You can use this adjustment to lighten (or darken) an image without loosing the contrast between the
61
61
darkest and lightest portions of the image. A value of 0 specifies no change. Positive values specify that the
62
62
mid-tones are made lighter, and negative values specify that the mid-tones are made darker.
63
63
</para >
64
64
<para >
65
- For the <paramref =" shadow" />, you can use this adjustment
65
+ For the <paramref name =" shadow" />, you can use this adjustment
66
66
to darken pixels that are already darker than a certain threshold. Setting shadow to 0 specifies no change.
67
67
Setting shadow to t specifies that a color channel value is decreased if it is already less than t percent of
68
68
full intensity. For example, setting shadow to 10 specifies that all color channel values less than 10 percent
Original file line number Diff line number Diff line change 912
912
performs a nearest-color conversion from the standard palette to the actual palette.
913
913
</para >
914
914
<para >
915
- For <paramref name =" alphaThresholdPercent" >, a value of 0 specifies that none of the source pixels map to the transparent color.
915
+ For <paramref name =" alphaThresholdPercent" / >, a value of 0 specifies that none of the source pixels map to the transparent color.
916
916
A value of 100 specifies that any pixel that is not fully opaque will map to the transparent color.
917
917
A value of t specifies that any source pixel less than t percent of fully opaque will map to the transparent color.
918
918
Note that for the alpha threshold to be effective, the palette must have a transparent color. If the palette does not have a transparent color,
You can’t perform that action at this time.
0 commit comments