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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk