跳转至主内容 跳到页内导航 跳到 Ask Learn 聊天体验

此浏览器不再受支持。

请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。

下载 Microsoft Edge 有关 Internet Explorer 和 Microsoft Edge 的详细信息
使用英语阅读
使用英语阅读

通过

Facebook x.com 共享 LinkedIn 电子邮件

备注

访问此页面需要授权。 可以尝试登录或更改目录。

访问此页面需要授权。 可以尝试更改目录。

NSGraphics 类

  • 参考

定义

命名空间:
AppKit
程序集:
Xamarin.Mac.dll

重要

一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。

public static class NSGraphics
type NSGraphics = class
继承
Object
NSGraphics

字段

Black
DarkGray
LightGray
White

属性

AvailableWindowDepths

方法

BestDepth(NSString, nint, nint, Boolean, Boolean)
BitsPerPixelFromDepth(NSWindowDepth)
BitsPerSampleFromDepth(NSWindowDepth)
ColorSpaceFromDepth(NSWindowDepth)
DisableScreenUpdates()
DrawDarkBezel(CGRect, CGRect)
DrawGrayBezel(CGRect, CGRect)
DrawGroove(CGRect, CGRect)
DrawLightBezel(CGRect, CGRect)
DrawTiledRects(CGRect, CGRect, NSRectEdge[], nfloat[])
DrawWhiteBezel(CGRect, CGRect)
DrawWindowBackground(CGRect)
EnableScreenUpdates()
FrameRect(CGRect, nfloat, NSCompositingOperation)
FrameRect(CGRect, nfloat)
FrameRect(CGRect)
FrameRectWithWidth(CGRect, nfloat)
NumberOfColorComponents(NSString)
PlanarFromDepth(NSWindowDepth)
RectClip(CGRect)
RectFill(CGRect, NSCompositingOperation)
RectFill(CGRect)
RectFill(CGRect[])
SetFocusRingStyle(NSFocusRingPlacement)
ShowAnimationEffect(NSAnimationEffect, CGPoint, CGSize, Action)
ShowAnimationEffect(NSAnimationEffect, CGPoint, CGSize, NSObject, Selector, IntPtr)

适用于

其他资源

本文内容

zh-cn
你的隐私选择
  • 早期版本
  • 博客
  • 参与
  • 隐私
  • 使用条款
  • 商标
  • © Microsoft 2025