SKImage.FromAdoptedTexture Methode

Definition

Überlädt

Name Beschreibung
FromAdoptedTexture(GRContext, GRBackendTexture, SKColorType)

Erstellt ein neues Bild aus der angegebenen Textur.

FromAdoptedTexture(GRRecordingContext, GRBackendTexture, SKColorType)

Erstellt ein Bild aus der angegebenen Textur, wobei die Besitzer der Textur sind.

FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType)

Erstellt ein neues Bild aus der angegebenen Textur.

FromAdoptedTexture(GRRecordingContext, GRBackendTexture, GRSurfaceOrigin, SKColorType)

Erstellt ein Bild aus der angegebenen Textur, wobei die Besitzer der Textur übernommen werden.

FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType)

Erstellt ein neues Bild aus der angegebenen Textur.

FromAdoptedTexture(GRRecordingContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType)

Erstellt ein Bild aus der angegebenen Textur, wobei die Besitzer der Textur sind.

FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace)

Erstellt ein neues Bild aus der angegebenen Textur.

FromAdoptedTexture(GRRecordingContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace)

Erstellt ein Bild aus der angegebenen Textur, wobei die Besitzer der Textur sind.

FromAdoptedTexture(GRContext, GRBackendTexture, SKColorType)

Erstellt ein neues Bild aus der angegebenen Textur.

public static SkiaSharp.SKImage FromAdoptedTexture(SkiaSharp.GRContext context, SkiaSharp.GRBackendTexture texture, SkiaSharp.SKColorType colorType);

Parameter

context
GRContext

Der Grafikkontext.

texture
GRBackendTexture

Die Beschreibung der vorhandenen Back-End-Textur.

colorType
SKColorType

Der für das Bild zu verwendende Farbtyp.

Gibt zurück

Gibt das neue Bild zurück oder null wenn die angegebene Textur nicht unterstützt wird.

Hinweise

SkiaSharp löscht oder recycelt die Textur, wenn das Bild freigegeben wird.

Gilt für:

FromAdoptedTexture(GRRecordingContext, GRBackendTexture, SKColorType)

Erstellt ein Bild aus der angegebenen Textur, wobei die Besitzer der Textur sind.

public static SkiaSharp.SKImage FromAdoptedTexture(SkiaSharp.GRRecordingContext context, SkiaSharp.GRBackendTexture texture, SkiaSharp.SKColorType colorType);

Parameter

context
GRRecordingContext

Der GPU-Kontext.

texture
GRBackendTexture

Die Back-End-Textur.

colorType
SKColorType

Der Farbtyp des Bilds.

Gibt zurück

Gibt ein neues Bild zurück oder null wenn die Textur ungültig ist.

Hinweise

SkiaSharp löscht oder recycelt die Textur, wenn das Bild freigegeben wird.

Gilt für:

FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType)

Erstellt ein neues Bild aus der angegebenen Textur.

public static SkiaSharp.SKImage FromAdoptedTexture(SkiaSharp.GRContext context, SkiaSharp.GRBackendTexture texture, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);

Parameter

context
GRContext

Der Grafikkontext.

texture
GRBackendTexture

Die Beschreibung der vorhandenen Back-End-Textur.

origin
GRSurfaceOrigin

Der Ursprung der Textur.

colorType
SKColorType

Der für das Bild zu verwendende Farbtyp.

Gibt zurück

Gibt das neue Bild zurück oder null wenn die angegebene Textur nicht unterstützt wird.

Hinweise

SkiaSharp löscht oder recycelt die Textur, wenn das Bild freigegeben wird.

Gilt für:

FromAdoptedTexture(GRRecordingContext, GRBackendTexture, GRSurfaceOrigin, SKColorType)

Erstellt ein Bild aus der angegebenen Textur, wobei die Besitzer der Textur sind.

public static SkiaSharp.SKImage FromAdoptedTexture(SkiaSharp.GRRecordingContext context, SkiaSharp.GRBackendTexture texture, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);

Parameter

context
GRRecordingContext

Der GPU-Kontext.

texture
GRBackendTexture

Die Back-End-Textur.

origin
GRSurfaceOrigin

Der Ursprung der Textur.

colorType
SKColorType

Der Farbtyp des Bilds.

Gibt zurück

Gibt ein neues Bild zurück oder null wenn die Textur ungültig ist.

Hinweise

SkiaSharp löscht oder recycelt die Textur, wenn das Bild freigegeben wird.

Gilt für:

FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType)

Erstellt ein neues Bild aus der angegebenen Textur.

public static SkiaSharp.SKImage FromAdoptedTexture(SkiaSharp.GRContext context, SkiaSharp.GRBackendTexture texture, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType, SkiaSharp.SKAlphaType alpha);

Parameter

context
GRContext

Der Grafikkontext.

texture
GRBackendTexture

Die Beschreibung der vorhandenen Back-End-Textur.

origin
GRSurfaceOrigin

Der Ursprung der Textur.

colorType
SKColorType

Der für das Bild zu verwendende Farbtyp.

alpha
SKAlphaType

Der Für das Bild zu verwendende Transparenzmodus.

Gibt zurück

Gibt das neue Bild zurück oder null wenn die angegebene Textur nicht unterstützt wird.

Hinweise

SkiaSharp löscht oder recycelt die Textur, wenn das Bild freigegeben wird.

Gilt für:

FromAdoptedTexture(GRRecordingContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType)

Erstellt ein Bild aus der angegebenen Textur, wobei die Besitzer der Textur sind.

public static SkiaSharp.SKImage FromAdoptedTexture(SkiaSharp.GRRecordingContext context, SkiaSharp.GRBackendTexture texture, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType, SkiaSharp.SKAlphaType alpha);

Parameter

context
GRRecordingContext

Der GPU-Kontext.

texture
GRBackendTexture

Die Back-End-Textur.

origin
GRSurfaceOrigin

Der Ursprung der Textur.

colorType
SKColorType

Der Farbtyp des Bilds.

alpha
SKAlphaType

Der Alphatyp des Bilds.

Gibt zurück

Gibt ein neues Bild zurück oder null wenn die Textur ungültig ist.

Hinweise

SkiaSharp löscht oder recycelt die Textur, wenn das Bild freigegeben wird.

Gilt für:

FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace)

Erstellt ein neues Bild aus der angegebenen Textur.

public static SkiaSharp.SKImage FromAdoptedTexture(SkiaSharp.GRContext context, SkiaSharp.GRBackendTexture texture, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType, SkiaSharp.SKAlphaType alpha, SkiaSharp.SKColorSpace colorspace);

Parameter

context
GRContext

Der Grafikkontext.

texture
GRBackendTexture

Die Beschreibung der vorhandenen Back-End-Textur.

origin
GRSurfaceOrigin

Der Ursprung der Textur.

colorType
SKColorType

Der für das Bild zu verwendende Farbtyp.

alpha
SKAlphaType

Der Für das Bild zu verwendende Transparenzmodus.

colorspace
SKColorSpace

Der für das Bild zu verwendende Farbraum.

Gibt zurück

Gibt das neue Bild zurück oder null wenn die angegebene Textur nicht unterstützt wird.

Hinweise

SkiaSharp löscht oder recycelt die Textur, wenn das Bild freigegeben wird.

Gilt für:

FromAdoptedTexture(GRRecordingContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace)

Erstellt ein Bild aus der angegebenen Textur, wobei die Besitzer der Textur übernommen werden.

public static SkiaSharp.SKImage FromAdoptedTexture(SkiaSharp.GRRecordingContext context, SkiaSharp.GRBackendTexture texture, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType, SkiaSharp.SKAlphaType alpha, SkiaSharp.SKColorSpace colorspace);

Parameter

context
GRRecordingContext

Der GPU-Kontext.

texture
GRBackendTexture

Die Back-End-Textur.

origin
GRSurfaceOrigin

Der Ursprung der Textur.

colorType
SKColorType

Der Farbtyp des Bilds.

alpha
SKAlphaType

Der Alphatyp des Bilds.

colorspace
SKColorSpace

Der Farbraum des Bilds.

Gibt zurück

Gibt ein neues Bild zurück oder null wenn die Textur ungültig ist.

Hinweise

SkiaSharp löscht oder recycelt die Textur, wenn das Bild freigegeben wird.

Gilt für: