Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

d97911a6 b085 ab41 ddc4 a78ef1724d23

haplokuon edited this page May 6, 2023 · 1 revision

TransformBy(Matrix3, Vector3) Method

netDxf 3.0.0 Library

Moves, scales, and/or rotates the current entity given a 3x3 transformation matrix and a translation vector.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public override void TransformBy(
	Matrix3 transformation,
	Vector3 translation
)

VB

Public Overrides Sub TransformBy ( 
	transformation As Matrix3,
	translation As Vector3
)

C++

public:
virtual void TransformBy(
	Matrix3 transformation, 
	Vector3 translation
) override

F#

abstract TransformBy : 
        transformation : Matrix3 * 
        translation : Vector3 -> unit 
override TransformBy : 
        transformation : Matrix3 * 
        translation : Vector3 -> unit 

Parameters

  Matrix3
Transformation matrix.
  Vector3
Translation vector.

Remarks

When the current Text entity does not belong to a DXF document, the text will use the DefaultMirrText when a symmetry is performed; otherwise, the drawing variable MirrText will be used.
A symmetry around the X axis when the text uses an Alignment.BaseLineLeft, Alignment.BaseLineCenter, Alignment.BaseLineRight, Alignment.Fit or an Alignment.Aligned. A symmetry around the Y axis when the text uses an Alignment.Fit or an Alignment.Aligned.
Matrix3 adopts the convention of using column vectors to represent a transformation matrix.

See Also

Reference

Text Class
TransformBy Overload
netDxf.Entities Namespace

Clone this wiki locally