如何获得iTextSharp.text.pdf.parser.Vector
对象的x,y,z值?
这些是非公共成员。
最佳答案
根据消息来源,可以。
/**
* Gets the value from a coordinate of the vector
* @param index the index of the value to get (I1, I2 or I3)
* @return a coordinate value
*/
public float this[int index] {
get {
return vals[index];
}
}
您可以通过它们的索引访问它们:
var x = v[0];
var y = v[1];
var z = v[2];