本文整理汇总了C#中AlignH类的典型用法代码示例。如果您正苦于以下问题:C#AlignH类的具体用法?C#AlignH怎么用?C#AlignH使用的例子?这里精选的类代码示例或许可以为您提供帮助。
示例1:Fill
///
///Constructorthatcreatesafill,usingauser-supplied,custom
///.Thisconstructorwillmakethebrushunscaled(see),
///butitprovidesandparameterstocontrol
///alignmentofthebrushwithrespecttothefilledobject.
///
///
Thetouseforfancyfills.Typically,thiswould
///beaoraclass
///Controlsthehorizontalalignmentofthebrushwithinthefilledobject
///(see
///Controlstheverticalalignmentofthebrushwithinthefilledobject
///(see
publicFill(Brushbrush,AlignHalignH,AlignValignV)
{
Init();
this.alignH=alignH;
this.alignV=alignV;
this.isScaled=false;
this.color=Color.White;
this.brush=(Brush)brush.Clone();
this.type=FillType.Brush;
}
原文链接:http://www.jxszl.com/biancheng/C/556511.html