Yes.
anchor = Layer.anchors["topright"]
anchor.setOrientation_(1)
print(anchor.orientation())
"""
GSAlignmentLeft = 0
GSAlignmentCenter = 2
GSAlignmentRight = 1
"""
Yes.
anchor = Layer.anchors["topright"]
anchor.setOrientation_(1)
print(anchor.orientation())
"""
GSAlignmentLeft = 0
GSAlignmentCenter = 2
GSAlignmentRight = 1
"""