PictureLayer クラス
記録済みの描画命令を再生するレイヤーです。
名前空間: FloatSoda.Rendering.Layers
アセンブリ: FloatSoda.Rendering.dll
public class PictureLayer : ILayer実装するインターフェイス
Section titled “実装するインターフェイス”継承したメンバー
Section titled “継承したメンバー”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
PaintBounds
Section titled “PaintBounds”レイアウト後のピクチャーの描画境界を取得します。
public SKRect PaintBounds { get; }プロパティの値
Section titled “プロパティの値”Picture
Section titled “Picture”再生する記録済みの描画命令を取得または設定します。
public SKPicture? Picture { get; set; }プロパティの値
Section titled “プロパティの値”Clone()
Section titled “Clone()”同じピクチャーを参照する新しいピクチャーレイヤーを作成します。
public ILayer Clone()ピクチャーへの参照を共有する新しいピクチャーレイヤー。
ピクチャーの所有権は移転しません。描画境界は複製後のレイアウトで計算されます。
Layout(LayerContext)
Section titled “Layout(LayerContext)”ピクチャーに記録された描画境界をこのレイヤーの描画境界として設定します。
public void Layout(LayerContext context)パラメーター
Section titled “パラメーター”context LayerContext
レイヤーツリーのレイアウトに使用するコンテキスト。
Paint(LayerContext)
Section titled “Paint(LayerContext)”記録済みの描画命令を指定されたキャンバスへ再生します。
public void Paint(LayerContext context)パラメーター
Section titled “パラメーター”context LayerContext
描画命令の再生先となるキャンバスを保持するコンテキスト。