ICanvas.SetShadow(SizeF, Single, Color) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a shadow to a graphical object.
public:
void SetShadow(Microsoft::Maui::Graphics::SizeF offset, float blur, Microsoft::Maui::Graphics::Color ^ color);
public void SetShadow (Microsoft.Maui.Graphics.SizeF offset, float blur, Microsoft.Maui.Graphics.Color color);
abstract member SetShadow : Microsoft.Maui.Graphics.SizeF * single * Microsoft.Maui.Graphics.Color -> unit
Public Sub SetShadow (offset As SizeF, blur As Single, color As Color)
Parameters
- offset
- SizeF
Represents the position of a light source that creates the shadow.
- blur
- Single
Amount of blur to apply to the shadow.
- color
- Color
Color of the shadow.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.