Instance Method インスタンスメソッド

transform(_:)

Applies an affine transform to this shape. アフィン変換をこの形状に適用します。

Declaration 宣言

func transform(_ transform: CGAffineTransform) -> TransformedShape<Self>

Return Value 戻り値

A transformed shape, based on its matrix values. 変換された形状、それの行列値に基づいて。

Parameters パラメータ

transform

The affine transformation matrix to apply to this shape. この形状に適用するアフィン変換行列。

Discussion 議論

Affine transforms present a mathematical approach to applying combinations of rotation, scaling, translation, and skew to shapes. アフィン変換は、回転、拡大縮小、変換、そして傾斜の組み合わせを形状に適用するための数学的取り組みを提示します。