예제 #1
0
파일: Pi2.cs 프로젝트: habi/pi2
 /// <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)
 {
 }
예제 #2
0
파일: Pi2.cs 프로젝트: habi/pi2
 /// <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;
 }
예제 #3
0
 /// <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;
 }