set_alignment Subroutine

private subroutine set_alignment(self, alignment)

Set which point of the text is at its position.

Type Bound

HUDText

Arguments

Type IntentOptional Attributes Name
class(HUDText), intent(inout) :: self
integer, intent(in) :: alignment

an ALIGN_* constant


Source Code

    subroutine set_alignment(self, alignment)
        class(HUDText), intent(inout) :: self
        integer, intent(in) :: alignment        !! an ALIGN_* constant
        self%alignment_ = alignment
        self%revision_ = self%revision_ + 1
    end subroutine set_alignment