# Short way to define X points into Vector.\<Point\>

**URL:** https://forum.kirupa.com/t/short-way-to-define-x-points-into-vector-point/312087
**Category:** Uncategorized
**Created:** [July 25, 2010, 7:17am UTC](https://forum.kirupa.com/t/short-way-to-define-x-points-into-vector-point/312087 "2010-07-25T07:17:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![patrickjv](https://avatars.discourse-cdn.com/v4/letter/p/ce7236/32.png) [@patrickjv](https://forum.kirupa.com/u/patrickjv)
#### Post date: [July 25, 2010, 7:17am UTC](https://forum.kirupa.com/t/short-way-to-define-x-points-into-vector-point/312087/1 "2010-07-25T07:17:27Z")

</div>

Anybody knows a short way to add a bunch of points to a Vector.\<Point\> variable

for example you have;  
var A:Vector.\<Point\> = new Vector.\<Point\>();

then say for example something like

A = [[12,34] , [323,535] , [8989,1] , [235,39] , [98,1] ];

but in actual correct syntax…  
Anbody?  
t.i.a.  
P
