C# Class CardMaker.Card.FormattedText.Alignment.HorizontalAlignmentProcessor

Afficher le fichier Open project: nhmkdev/cardmaker

Méthodes publiques

Méthode Description
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

Method Details

GetHorizontalOffset() public méthode

public GetHorizontalOffset ( ProjectLayoutElement zElement, RectangleF rectLast ) : float
zElement CardMaker.XML.ProjectLayoutElement
rectLast System.Drawing.RectangleF
Résultat float

UpdateLineAlignment() public méthode

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
Résultat void