示例#1
0
 public ValueTask ClipAsync(string path, FillRule fill_rule) => InvokeEvalAsync($"path = {path}; {ctx}.clip(path, {fill_rule.ToJsEnumValue()});");
示例#2
0
 public ValueTask ClipAsync(string path, FillRule fill_rule) => InvokeEvalAsync("clip", path, fill_rule.ToJsEnumValue());
示例#3
0
 public ValueTask <bool> IsPointInPathAsync(string path, double x, double y, FillRule fill_rule) => InvokeEvalAsync <bool>($"path = {path}; {ctx}.isPointInPath(path, {x.ToInvariantString()}, {y.ToInvariantString()}, {fill_rule.ToJsEnumValue()});");
示例#4
0
 public ValueTask FillAsync(FillRule fill_rule) => InvokeOnCtxAsync("fill", fill_rule.ToJsEnumValue());
示例#5
0
 public ValueTask <bool> IsPointInPathAsync(double x, double y, FillRule fill_rule) => InvokeOnCtxAsync <bool>("isPointInPath", x, y, fill_rule.ToJsEnumValue());