シェイプモーフィング_変形線スタイル - hsk/swfspec_ja GitHub Wiki

変形線スタイル

MORPHLINESTYLEARRAY

フィールド コメント
LineStyleCount UI8 Count of line styles.
LineStyleCountExtended If count = 0xFFUI16 Extended count ofline styles.
LineStyles MORPHLINESTYLE[count],(if MorphShape1)MORPHLINESTYLE2[count],(if MorphShape2) Array of line styles.

MORPHLINESTYLE

フィールド コメント
StartWidth UI16 Width of line in start shape intwips.
EndWidth UI16 Width of line in end shape intwips.
StartColor RGBA Color value including alphachannel information for startshape.
EndColor RGBA Color value including alphachannel information for endshape.

MORPHLINESTYLE2

フィールド コメント
StartWidth UI16 Width of line in start shape intwips.
EndWidth UI16 Width of line in end shape intwips.
StartCapStyle UB[2] Start-cap style:0 = Round cap1 = No cap2 = Square cap
JoinStyle UB[2] Join style:0 = Round join1 = Bevel join2 = Miter join
HasFillFlag UB[1] If 1, fill is defined in FillType.If 0, uses StartColor andEndColor fields.
NoHScaleFlag UB[1] If 1, stroke thickness will notscale if the object is scaledhorizontally.
NoVScaleFlag UB[1] If 1, stroke thickness will notscale if the object is scaledvertically.
PixelHintingFlag UB[1] If 1, all anchors will be aligned tofull pixels.
Reserved UB[5] Must be 0.
NoClose UB[1] If 1, stroke will not be closed ifthe stroke’s last point matchesits first point. Flash Player willapply caps instead of a join.
EndCapStyle UB[2] End-cap style:0 = Round cap1 = No cap2 = Square cap
MiterLimitFactor If JoinStyle = 2, UI16 Miter limit factor as an 8.8fixed-point value.
StartColor If HasFillFlag = 0, RGBA Color value including alphachannel information for startshape.
EndColor If HasFillFlag = 0, RGBA Color value including alphachannel information for endshape.
FillType If HasFillFlag = 1,MORPHFILLSTYLE Fill style.

移動