0xLeif / 0xLeif/LayerKit

Implement Content Image

Offen
#7 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Swift
Sterne
8
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

```swift
var contents: Any?
An object that provides the contents of the layer. Animatable.

var contentsRect: CGRect
The rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. Animatable.

var contentsCenter: CGRect
The rectangle that defines how the layer contents are scaled if the layer’s contents are resized. Animatable.

func display()
Reloads the content of this layer.

func draw(in: CGContext)
Draws the layer’s content using the specified graphics context.
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.