Editar

Compartir a través de


SKCanvasView.IgnorePixelScaling Property

Definition

Gets or sets a value indicating whether the drawing canvas should be resized on high resolution displays.

public bool IgnorePixelScaling { get; set; }

Property Value

Remarks

By default, when false, the canvas is resized to 1 canvas pixel per display pixel. When true, the canvas is resized to device independent pixels, and then stretched to fill the view. Although performance is improved and all objects are the same size on different display densities, blurring and pixelation may occur.

Applies to