共用方式為


UIView.DrawLayer(CALayer, CGContext) 方法

定義

[Foundation.Export("drawLayer:inContext:")]
public virtual void DrawLayer (CoreAnimation.CALayer layer, CoreGraphics.CGContext context);
abstract member DrawLayer : CoreAnimation.CALayer * CoreGraphics.CGContext -> unit
override this.DrawLayer : CoreAnimation.CALayer * CoreGraphics.CGContext -> unit

參數

layer
CALayer
context
CGContext
屬性

適用於