Skip to main content

SurfaceRenderTarget.CreateInfo Struct

Definition​

Namespace:Avalonia.Skia
Assembly:Avalonia.Skia
Package:Avalonia.Skia

Create info of a surface render target.

public struct SurfaceRenderTarget.CreateInfo

Inheritance: ValueType -> SurfaceRenderTarget.CreateInfo

Fields​

NameDescription
DisableManualFboNo summary available.
DisableTextLcdRenderingRender text without Lcd rendering.
DpiDpi used when rendering to a surface.
FormatPixel format of a render target.
GpuNo summary available.
GrContextGPU-accelerated context (optional)
HeightHeight of a render target.
SessionNo summary available.
UseScaledDrawingNo summary available.
WidthWidth of a render target.

DisableManualFbo Field​

public bool DisableManualFbo

DisableTextLcdRendering Field​

Render text without Lcd rendering.

public bool DisableTextLcdRendering

Dpi Field​

Dpi used when rendering to a surface.

public Avalonia.Vector Dpi

Format Field​

Pixel format of a render target.

public Nullable<Avalonia.Platform.PixelFormat> Format

Gpu Field​

public Avalonia.Skia.ISkiaGpu Gpu

GrContext Field​

GPU-accelerated context (optional)

public SkiaSharp.GRContext GrContext

Height Field​

Height of a render target.

public int Height

Session Field​

public Avalonia.Skia.ISkiaGpuRenderSession Session

UseScaledDrawing Field​

public bool UseScaledDrawing

Width Field​

Width of a render target.

public int Width