added flipHorizontal and flipVertical to Placement