共用方式為


CALayer.BackgroundColor 屬性

定義

圖層的背景色彩。

public virtual CoreGraphics.CGColor BackgroundColor { [Foundation.Export("backgroundColor")] get; [Foundation.Export("setBackgroundColor:")] set; }
member this.BackgroundColor : CoreGraphics.CGColor with get, set

屬性值

(此節點的更多檔即將推出)

這個值可以是 null

屬性

適用於