/// <summary> /// Constructor. /// Images and variables should be created with Pi2.new* functions, otherwise they do not exist in the Pi2 system. /// </summary> /// <param name="pi"></param> /// <param name="name">Object name</param> public Pi2Image(Pi2 pi, string name, bool ownsHandle) : base(pi, name, ownsHandle) { }
/// <summary> /// Constructor. /// Images and variables should be created with Pi2.new* functions, otherwise they do not exist in the Pi2 system. /// </summary> /// <param name="pi"></param> /// <param name="name">Object name</param> /// <param name="ownsHandle">Indicates whether this instance is responsible of deleting the underlying Pi2 object.</param> public Pi2Object(Pi2 pi, string name, bool ownsHandle) { Pi = pi; Name = name; OwnsHandle = true; }
/// <summary> /// Constructor. /// Images should be created with Pi2.newimage function, otherwise the image does not exist in the Pi2 system. /// </summary> /// <param name="pi"></param> /// <param name="imageName"></param> public Pi2Image(Pi2 pi, string imageName) { Pi = pi; ImageName = imageName; }