Modifier

Partager via


SKBitmap.SetImmutable Method

Definition

Marks the bitmap as immutable.

public void SetImmutable ();

Remarks

Marks this bitmap as immutable, meaning that the contents of its pixels will not change for the lifetime of the bitmap and of the underlying pixelref. This state can be set, but it cannot be cleared once it is set. This state propagates to all other bitmaps that share the same pixelref.

Applies to