ClipCustomPath クラス
子要素の描画を任意のパスの内側へ制限します。
名前空間: FloatSoda.Widgets.Paint
アセンブリ: FloatSoda.dll
public record ClipCustomPath : SingleChildRenderObjectWidget<RenderClipPath>, IEquatable<Widget>, IEquatable<RenderObjectWidget<RenderClipPath>>, IEquatable<SingleChildRenderObjectWidget<RenderClipPath>>, IEquatable<ClipCustomPath>object ← Widget ← RenderObjectWidget<RenderClipPath> ← SingleChildRenderObjectWidget<RenderClipPath> ← ClipCustomPath
実装するインターフェイス
Section titled “実装するインターフェイス”IEquatable<Widget>, IEquatable<RenderObjectWidget<RenderClipPath>>, IEquatable<SingleChildRenderObjectWidget<RenderClipPath>>, IEquatable<ClipCustomPath>
継承したメンバー
Section titled “継承したメンバー”SingleChildRenderObjectWidget<RenderClipPath>.Child, SingleChildRenderObjectWidget<RenderClipPath>.CreateElement(), RenderObjectWidget<RenderClipPath>.CreateRenderObject(), RenderObjectWidget<RenderClipPath>.UpdateRenderObject(RenderClipPath), Widget.Key, Widget.CanUpdate(Widget, Widget), Widget.CreateElement(), Widget.GetHashCode(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
ClipBehavior
Section titled “ClipBehavior”クリップ境界の描画方式を取得します。
public Clip ClipBehavior { get; init; }プロパティの値
Section titled “プロパティの値”Clip
Clipper
Section titled “Clipper”クリップパスを算出するクリッパーを取得します。 nullの場合は、このウィジェットの領域全体を囲む矩形パスを使用します。
public CustomClipper<SKPath>? Clipper { get; init; }プロパティの値
Section titled “プロパティの値”CreateRenderObject()
Section titled “CreateRenderObject()”このウィジェットのパスクリップを適用するRenderObjectを生成します。
public override RenderClipPath CreateRenderObject()クリッパーと描画方式を保持する新しいRenderObject。
UpdateRenderObject(RenderClipPath)
Section titled “UpdateRenderObject(RenderClipPath)”クリッパーと描画方式を既存のRenderObjectへ反映します。
public override void UpdateRenderObject(RenderClipPath renderObject)パラメーター
Section titled “パラメーター”renderObject RenderClipPath
このウィジェットに対応するRenderObject。
クリップ領域の再計算が必要な変更、または描画方式の変更があった場合、 対象をPaint Dirtyとしてマークし、次のパイプライン更新時に再描画します。 再クリップが不要で描画方式も変更されなかった場合、Dirty状態は変更されません。