IGraphics
DrawImage(IGraphics, BitmapImage, Int32, Int32)
DrawImage(IGraphics, BitmapImage, Rectangle, Rectangle)
DrawRectangle(IGraphics, Rectangle, Color, Int32)
DrawText(IGraphics, String, String, Int32, Color, Point)
FillRectangle(IGraphics, Rectangle, Color)
GetCanvas(IGraphics)
MeasureText(IGraphics, String, String, Int32)
net11.0-windows7.0
namespace Iot.Device.Graphics.SkiaSharpAdapter
{
public static class SkiaSharpGraphicsExtensions
{
public static SizeF MeasureText(this IGraphics! graphics, string! text, string! fontFamilyName, int size);
}
}
| .NET | 8.09.010.011.0 |
|---|---|
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assembly | Iot.Device.Bindings.SkiaSharpAdapter , Version=4.2.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Iot.Device.Bindings.SkiaSharpAdapter (4.2.0) net8.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API