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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.