How to manipulate Canvas elements: Difference between revisions

Jump to navigation Jump to search
Line 278: Line 278:
The blue axis and labels are showing the <span style="background: white; color: blue">( '''u, v''' )</span> <big>absolute</big> coodinate system.<br />
The blue axis and labels are showing the <span style="background: white; color: blue">( '''u, v''' )</span> <big>absolute</big> coodinate system.<br />
Note that the translated arrow has brought with him his intrinsic coordenate system and his BoundingBox remains unchanged.<br />
Note that the translated arrow has brought with him his intrinsic coordenate system and his BoundingBox remains unchanged.<br />
Calling the ''getTranslation()'' we get [Tx, Ty] (In our case [150, 80] ).<br />
All points of the element meet the following equations::<br />
All points of the element meet the following equations::<br />
  <big>'''''u = Tx + x'''''</big>
  <big>'''''u = T<sub>x</sub> + x'''''</big>
  <big>'''''v = Ty + y'''''</big>
  <big>'''''v = T<sub>y</sub> + y'''''</big>
229

edits

Navigation menu