0xLeif / 0xLeif/LayerKit

Implement Content Image

オープン
#7 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Swift
スター
8
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

```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.
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。