C# 클래스 CardMaker.Card.FormattedText.Alignment.HorizontalAlignmentProcessor

파일 보기 프로젝트 열기: nhmkdev/cardmaker

공개 메소드들

메소드 설명
GetHorizontalOffset ( ProjectLayoutElement zElement, RectangleF rectLast ) : float
UpdateLineAlignment ( int nFirst, int nLast, bool bLastLine, ProjectLayoutElement zElement, List listMarkups, float fVerticalOffset, IEnumerable listAllMarkups ) : void

Updates the position of the markups based on horizontal alignment

메소드 상세

GetHorizontalOffset() 공개 메소드

public GetHorizontalOffset ( ProjectLayoutElement zElement, RectangleF rectLast ) : float
zElement CardMaker.XML.ProjectLayoutElement
rectLast System.Drawing.RectangleF
리턴 float

UpdateLineAlignment() 공개 메소드

Updates the position of the markups based on horizontal alignment
public UpdateLineAlignment ( int nFirst, int nLast, bool bLastLine, ProjectLayoutElement zElement, List listMarkups, float fVerticalOffset, IEnumerable listAllMarkups ) : void
nFirst int
nLast int
bLastLine bool
zElement CardMaker.XML.ProjectLayoutElement
listMarkups List List of Markups (all must have Aligns set to true)
fVerticalOffset float Any vertical offset to apply
listAllMarkups IEnumerable
리턴 void