public void GetSetXandY() { var offset = new Offset(0, 0); offset.X = 13; offset.Y = 14; Assert.AreEqual(13, offset.X); Assert.AreEqual(14, offset.Y); }
public void Translate(Offset offset) { Translate(offset.X, offset.Y); }
public void Resize(Dimensions dimensions, Offset offset) { Resize(dimensions.Width, dimensions.Height, offset.X, offset.Y); }
public void Crop(Dimensions dimensions, Offset offset) { Crop(dimensions.Width, dimensions.Height, offset.X, offset.Y); }
public void Constructor() { var offset = new Offset(13, 14); Assert.AreEqual(13, offset.X); Assert.AreEqual(14, offset.Y); }
public void CombineMasks(Channel channel, ChannelOps operation, Offset offset) { CombineMasks(channel, operation, offset.X, offset.Y); }
public void Offset(bool wrapAround, OffsetType fillType, Offset offset) { Offset(wrapAround, fillType, offset.X, offset.Y); }
public void SetOffsets() { var layer = new Layer(_image, "test", ImageType.Rgb); _image.InsertLayer(layer, 0); var offset = new Offset(13, 14); layer.Offsets = offset; Assert.AreEqual(offset, layer.Offsets); }