System::Drawing::Drawing2D::GraphicsPath::GetBounds 方法

GraphicsPath::GetBounds method

返回一个 RectangleF 对象,表示在使用指定矩阵转换时,当前对象所表示的路径的边界矩形。

RectangleF System::Drawing::Drawing2D::GraphicsPath::GetBounds(const MatrixPtr &matrix=nullptr, const SharedPtr<Pen> &pen=nullptr) const
参数类型描述
矩阵const MatrixPtr&变换矩阵
penconst SharedPtr<Pen>&用于计算边界矩形的 Pen

另见