Page 1 of 1

List of API changes in Moho 14.2

Posted: Thu Jun 27, 2024 5:32 pm
by Stan
Hi all, below is the list of Moho's scripting API changes of the version 14.2, according to the .pkg files.
All changes have been added to mohoscripting.com.

Code: Select all

New Constants:
	MOHO.LDQ_MASKED_LAYERS - masked layers - turns off masking, but also the layers that would have been masked	
	MOHO.BM_LINEAR_DODGE
	MOHO.BM_COLOR_BURN	
	MOHO.PEAK_WEIGHT
	
New Method:
	BoneLayer
		void DrawHighlightedBone(MohoDoc *doc, XGraphics *db, int32 boneID);
	
New Property:
	M_Curve
		AnimVal		fProfileOffset;
		
New Argument:
	M_Shape
		bool HasPositionDependentStyles(int32 fillOrStroke = 2); // 0:fill 1:stroke 2:both

Re: List of API changes in Moho 14.2

Posted: Thu Jun 27, 2024 8:16 pm
by hayasidist
Thanks Stan!

There are also some new channel codes and these are now visible in the website.